pub struct ImageDescriptor {
pub left: u16,
pub top: u16,
pub width: u16,
pub height: u16,
pub has_local_color_table: bool,
pub interlaced: bool,
pub sort_flag: bool,
pub local_color_table_size: u8,
}Expand description
Image descriptor.
Fields§
§left: u16Left position on canvas.
top: u16Top position on canvas.
width: u16Image width.
height: u16Image height.
has_local_color_table: boolLocal color table flag.
interlaced: boolInterlace flag.
sort_flag: boolSort flag.
local_color_table_size: u8Size of local color table (log2(size) - 1).
Trait Implementations§
Source§impl Clone for ImageDescriptor
impl Clone for ImageDescriptor
Source§fn clone(&self) -> ImageDescriptor
fn clone(&self) -> ImageDescriptor
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ImageDescriptor
impl RefUnwindSafe for ImageDescriptor
impl Send for ImageDescriptor
impl Sync for ImageDescriptor
impl Unpin for ImageDescriptor
impl UnsafeUnpin for ImageDescriptor
impl UnwindSafe for ImageDescriptor
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more