pub struct Track {
Show 15 fields pub name: ConstGmSpriteTrackName, pub sprite_id: Option<()>, pub keyframes: SpriteKeyframes, pub track_colour: usize, pub inherits_track_colour: bool, pub builtin_name: usize, pub traits: usize, pub interpolation: usize, pub tracks: Vec<()>, pub events: Vec<()>, pub is_creation_track: bool, pub resource_version: ResourceVersion, pub tags: Tags, pub resource_type: ConstGmSpriteFramesTrack, pub modifiers: Vec<()>,
}

Fields

name: ConstGmSpriteTrackName

The name of the track. The trackname is always “frames”.

sprite_id: Option<()>

This field appears to always be null. For some reason.

keyframes: SpriteKeyframes

These are the keyframes of the animation.

track_colour: usize

Appears to be always zero

inherits_track_colour: bool

Appears to always be true.

builtin_name: usize

Appears to always be zero.

traits: usize

Appears to always be zero.

interpolation: usize

Appears to always be 1.

tracks: Vec<()>

Always empty vec.

events: Vec<()>

Always empty vec.

is_creation_track: bool

Always false.

resource_version: ResourceVersion

The resource version. Currently “1.0”.

tags: Tags

The tags, which cannot be assigned in IDE.

resource_type: ConstGmSpriteFramesTrack

The resource type constant.

modifiers: Vec<()>

Always empty vec.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Return Track { name: Default::default(), sprite_id: Default::default(), keyframes: Default::default(), track_colour: Default::default(), inherits_track_colour: true, builtin_name: Default::default(), traits: Default::default(), interpolation: 1, tracks: Default::default(), events: Default::default(), is_creation_track: Default::default(), resource_version: Default::default(), tags: Default::default(), resource_type: Default::default(), modifiers: Default::default() }

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

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 resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

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.