[][src]Struct yy_typings::sprite::SpriteMoments

pub struct SpriteMoments {
    pub keyframes: Vec<()>,
    pub resource_version: String,
    pub resource_type: ConstGmSpriteMoment,
}

These are the "moments" which a Sprite is subscribed to. It will always be its default value. This is due to sharing resources with Sequences.

Fields

keyframes: Vec<()>

The keyframes which a SpriteEvent is assigned to. Because Sprites do not have access to all the resources of a sequence, they are always subscribed to 0 keyframes.

resource_version: String

The resource version of the SpriteMoment. Currently, it is always "1.0".

resource_type: ConstGmSpriteMoment

The name of the Resource Type. This is a C# generic, so this Serde typing may not be sufficent. Testing will have to be done.

Trait Implementations

impl Clone for SpriteMoments[src]

impl Debug for SpriteMoments[src]

impl Default for SpriteMoments[src]

impl<'de> Deserialize<'de> for SpriteMoments[src]

impl Eq for SpriteMoments[src]

impl PartialEq<SpriteMoments> for SpriteMoments[src]

impl Serialize for SpriteMoments[src]

impl StructuralEq for SpriteMoments[src]

impl StructuralPartialEq for SpriteMoments[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,