Struct yy_typings::sprite_yy::Track [−][src]
pub struct Track {}Show 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
impl Clone for Track
[src]
impl Debug for Track
[src]
impl Default for Track
[src]
fn default() -> Self
[src]
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() }
impl<'de> Deserialize<'de> for Track
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<Track> for Track
[src]
impl Serialize for Track
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for Track
[src]
Auto Trait Implementations
impl RefUnwindSafe for Track
impl Send for Track
impl Sync for Track
impl Unpin for Track
impl UnwindSafe for Track
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,