Struct pilka_types::ImageDimentions
source · [−]pub struct ImageDimentions {
pub width: u32,
pub height: u32,
pub unpadded_bytes_per_row: u32,
pub padded_bytes_per_row: u32,
}
Fields
width: u32
height: u32
unpadded_bytes_per_row: u32
padded_bytes_per_row: u32
Implementations
Trait Implementations
sourceimpl Clone for ImageDimentions
impl Clone for ImageDimentions
sourcefn clone(&self) -> ImageDimentions
fn clone(&self) -> ImageDimentions
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ImageDimentions
impl Debug for ImageDimentions
impl Copy for ImageDimentions
Auto Trait Implementations
impl RefUnwindSafe for ImageDimentions
impl Send for ImageDimentions
impl Sync for ImageDimentions
impl Unpin for ImageDimentions
impl UnwindSafe for ImageDimentions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more