#[non_exhaustive]pub struct ImageDescriptor {
pub left: u16,
pub top: u16,
pub width: u16,
pub height: u16,
pub local_table_size: usize,
pub interlaced: bool,
}Expand description
An image descriptor: where a frame sits on the canvas and how it is coded.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.left: u16Left edge, in canvas coordinates.
top: u16Top edge, in canvas coordinates.
width: u16Frame width.
height: u16Frame height.
local_table_size: usizeEntries in the local colour table, or zero if absent.
interlaced: boolWhether the frame’s pixels are stored interlaced.
Implementations§
Trait Implementations§
Source§impl Clone for ImageDescriptor
impl Clone for ImageDescriptor
impl Copy for ImageDescriptor
Source§impl Debug for ImageDescriptor
impl Debug for ImageDescriptor
impl Eq for ImageDescriptor
Source§impl PartialEq for ImageDescriptor
impl PartialEq for ImageDescriptor
impl StructuralPartialEq for ImageDescriptor
Auto 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