Struct yy_typings::sprite_yy::SpriteKeyframe
source · [−]pub struct SpriteKeyframe {
pub id: SpriteSequenceId,
pub key: f32,
pub length: f32,
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: f32
length: f32
stretch: bool
disabled: bool
is_creation_key: bool
channels: Channels
resource_version: ResourceVersion
resource_type: ConstGmSpriteKeyframe
Trait Implementations
sourceimpl Clone for SpriteKeyframe
impl Clone for SpriteKeyframe
sourcefn clone(&self) -> SpriteKeyframe
fn clone(&self) -> SpriteKeyframe
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SpriteKeyframe
impl Debug for SpriteKeyframe
sourceimpl Default for SpriteKeyframe
impl Default for SpriteKeyframe
sourcefn default() -> Self
fn default() -> Self
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() }
sourceimpl<'de> Deserialize<'de> for SpriteKeyframe
impl<'de> Deserialize<'de> for SpriteKeyframe
sourcefn 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
sourceimpl PartialEq<SpriteKeyframe> for SpriteKeyframe
impl PartialEq<SpriteKeyframe> for SpriteKeyframe
sourcefn eq(&self, other: &SpriteKeyframe) -> bool
fn eq(&self, other: &SpriteKeyframe) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl Serialize for SpriteKeyframe
impl Serialize for SpriteKeyframe
impl StructuralPartialEq for SpriteKeyframe
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more