Struct windows::Win32::Media::MediaFoundation::DXVA_VideoSample2
#[repr(C)]pub struct DXVA_VideoSample2 {
pub Size: u32,
pub Reserved: u32,
pub rtStart: i64,
pub rtEnd: i64,
pub SampleFormat: u32,
pub SampleFlags: u32,
pub lpDDSSrcSurface: *mut c_void,
pub rcSrc: RECT,
pub rcDst: RECT,
pub Palette: [DXVA_AYUVsample2; 16],
}
Fields§
§Size: u32
§Reserved: u32
§rtStart: i64
§rtEnd: i64
§SampleFormat: u32
§SampleFlags: u32
§lpDDSSrcSurface: *mut c_void
§rcSrc: RECT
§rcDst: RECT
§Palette: [DXVA_AYUVsample2; 16]
Trait Implementations§
§impl Clone for DXVA_VideoSample2
impl Clone for DXVA_VideoSample2
§fn clone(&self) -> DXVA_VideoSample2
fn clone(&self) -> DXVA_VideoSample2
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for DXVA_VideoSample2
impl Debug for DXVA_VideoSample2
§impl Default for DXVA_VideoSample2
impl Default for DXVA_VideoSample2
§impl PartialEq for DXVA_VideoSample2
impl PartialEq for DXVA_VideoSample2
§fn eq(&self, other: &DXVA_VideoSample2) -> bool
fn eq(&self, other: &DXVA_VideoSample2) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DXVA_VideoSample2
impl Eq for DXVA_VideoSample2
impl StructuralPartialEq for DXVA_VideoSample2
Auto Trait Implementations§
impl Freeze for DXVA_VideoSample2
impl RefUnwindSafe for DXVA_VideoSample2
impl !Send for DXVA_VideoSample2
impl !Sync for DXVA_VideoSample2
impl Unpin for DXVA_VideoSample2
impl UnwindSafe for DXVA_VideoSample2
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)