Struct linux_video_core::SdrFormat
source · #[repr(C, packed)]pub struct SdrFormat { /* private fields */ }
Expand description
SDR format definition
Implementations§
source§impl SdrFormat
impl SdrFormat
sourcepub fn pixel_format(&self) -> FourCc
pub fn pixel_format(&self) -> FourCc
Pixel format
sourcepub fn buffer_size(&self) -> u32
pub fn buffer_size(&self) -> u32
Buffer size
Trait Implementations§
source§impl IsFormatData for SdrFormat
impl IsFormatData for SdrFormat
source§const TYPES: &'static [BufferType] = _
const TYPES: &'static [BufferType] = _
Buffer types which corresponds to format type
impl Copy for SdrFormat
Auto Trait Implementations§
impl RefUnwindSafe for SdrFormat
impl Send for SdrFormat
impl Sync for SdrFormat
impl Unpin for SdrFormat
impl UnwindSafe for SdrFormat
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