Enum ase::Cel

source ·
pub enum Cel {
    RawCel {
        width: u16,
        height: u16,
        pixels: Pixels,
    },
    LinkedCel {
        frame_position: u16,
    },
    CompressedImage {
        width: u16,
        height: u16,
        zlib_compressed_data: Vec<u8>,
    },
}

Variants

RawCel

Fields

width: u16
height: u16
pixels: Pixels

LinkedCel

Fields

frame_position: u16

CompressedImage

Fields

width: u16
height: u16
zlib_compressed_data: Vec<u8>

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.