Struct immeta::formats::gif::ImageDescriptor
[−]
[src]
pub struct ImageDescriptor { pub left: u16, pub top: u16, pub width: u16, pub height: u16, pub local_color_table: Option<ColorTable>, pub interlace: bool, }
Contains metadata about an image block, i.e. a single frame of a GIF image.
Fields
left: u16
Offset of the image data from the left boundary of the logical screen.
top: u16
Offset of the image data from the top boundary of the logical screen.
width: u16
Width of the image data.
height: u16
Height of the image data.
local_color_table: Option<ColorTable>
Information about local color table, if it is present.
interlace: bool
Whether the image is interlaced.
Trait Implementations
impl Clone for ImageDescriptor
[src]
fn clone(&self) -> ImageDescriptor
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for ImageDescriptor
[src]
fn eq(&self, __arg_0: &ImageDescriptor) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ImageDescriptor) -> bool
[src]
This method tests for !=
.