[][src]Struct yy_typings::sprite::SpriteEvents

pub struct SpriteEvents {
    pub keyframes: Vec<()>,
    pub resource_version: String,
    pub resource_type: ConstGmSpriteEvent,
}

These are the "events" which a Sprite is subscribed to. It will always be its default value. It exists 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 SpriteEvent. Currently, it is always "1.0".

resource_type: ConstGmSpriteEvent

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 SpriteEvents[src]

impl Debug for SpriteEvents[src]

impl Default for SpriteEvents[src]

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

impl Eq for SpriteEvents[src]

impl PartialEq<SpriteEvents> for SpriteEvents[src]

impl Serialize for SpriteEvents[src]

impl StructuralEq for SpriteEvents[src]

impl StructuralPartialEq for SpriteEvents[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>,