Struct yy_typings::sprite_yy::SpriteKeyframe [−][src]
pub struct SpriteKeyframe {
pub id: SpriteSequenceId,
pub key: f64,
pub length: f64,
pub stretch: bool,
pub disabled: bool,
pub is_creation_key: bool,
pub channels: Channels,
pub resource_version: ResourceVersion,
pub resource_type: ConstGmSpriteKeyframe,
}
Fields
id: SpriteSequenceId
A SpriteSequenceId, apparently with no relation to any other ID.
key: f64
length: f64
stretch: bool
disabled: bool
is_creation_key: bool
channels: Channels
resource_version: ResourceVersion
resource_type: ConstGmSpriteKeyframe
Trait Implementations
Return SpriteKeyframe { id: Default::default(), key: Default::default(), length: 1.0, stretch: Default::default(), disabled: Default::default(), is_creation_key: Default::default(), channels: Default::default(), resource_version: 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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SpriteKeyframe
impl Send for SpriteKeyframe
impl Sync for SpriteKeyframe
impl Unpin for SpriteKeyframe
impl UnwindSafe for SpriteKeyframe
Blanket Implementations
Mutably borrows from an owned value. Read more