Struct ase::SliceKey

source ·
pub struct SliceKey {
    pub frame_number: u32,
    pub x_origin: i32,
    pub y_origin: i32,
    pub width: u32,
    pub height: u32,
    pub nine_patches_info: Option<NinePatchesInfo>,
    pub pivot_info: Option<PivotInfo>,
}

Fields

frame_number: u32x_origin: i32y_origin: i32width: u32height: u32nine_patches_info: Option<NinePatchesInfo>pivot_info: Option<PivotInfo>

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.