Struct ase::Header

source ·
pub struct Header {
    pub file_size: u32,
    pub frames: u16,
    pub width_in_pixels: u16,
    pub height_in_pixels: u16,
    pub color_depth: ColorDepth,
    pub flags: Flags,
    pub transparent_palette_entry: u8,
    pub number_of_colors: u16,
    pub pixel_width: u8,
    pub pixel_height: u8,
}

Fields

file_size: u32frames: u16width_in_pixels: u16height_in_pixels: u16color_depth: ColorDepthflags: Flagstransparent_palette_entry: u8number_of_colors: u16pixel_width: u8pixel_height: u8

Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.