#[repr(C, packed(1))]pub struct PlanePixFormat { /* private fields */ }
Expand description
Per-plane format definition
Implementations§
Source§impl PlanePixFormat
impl PlanePixFormat
Sourcepub fn size_image(&self) -> u32
pub fn size_image(&self) -> u32
Image size
Sourcepub fn bytes_per_line(&self) -> u32
pub fn bytes_per_line(&self) -> u32
Bytes per line
Source§impl PlanePixFormat
impl PlanePixFormat
Sourcepub fn set_size_image(&mut self, val: u32) -> &mut Self
pub fn set_size_image(&mut self, val: u32) -> &mut Self
Image size
Sourcepub fn set_bytes_per_line(&mut self, val: u32) -> &mut Self
pub fn set_bytes_per_line(&mut self, val: u32) -> &mut Self
Bytes per line
Trait Implementations§
Source§impl Clone for PlanePixFormat
impl Clone for PlanePixFormat
Source§fn clone(&self) -> PlanePixFormat
fn clone(&self) -> PlanePixFormat
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 moreSource§impl Debug for PlanePixFormat
impl Debug for PlanePixFormat
impl Copy for PlanePixFormat
Auto Trait Implementations§
impl Freeze for PlanePixFormat
impl RefUnwindSafe for PlanePixFormat
impl Send for PlanePixFormat
impl Sync for PlanePixFormat
impl Unpin for PlanePixFormat
impl UnwindSafe for PlanePixFormat
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