Struct yy_typings::sprite_yy::Track [−][src]
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 modifiers: Vec<()>,
pub is_creation_track: bool,
pub resource_version: ResourceVersion,
pub tags: Tags,
pub resource_type: ConstGmSpriteFramesTrack,
}
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.
modifiers: Vec<()>
Always empty vec.
is_creation_track: bool
Always false
.
resource_version: ResourceVersion
The resource version. Currently “1.0”.
The tags, which cannot be assigned in IDE.
resource_type: ConstGmSpriteFramesTrack
The resource type constant.
Trait Implementations
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(), modifiers: Default::default(), is_creation_track: Default::default(), resource_version: Default::default(), tags: Default::default(), resource_type: Default::default() }
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Track
impl UnwindSafe for Track
Blanket Implementations
Mutably borrows from an owned value. Read more