pub enum SpriteAnimationValue {
Bool(bool),
Integer(i32),
Scalar(Scalar),
}Variants§
Implementations§
Trait Implementations§
source§impl Clone for SpriteAnimationValue
impl Clone for SpriteAnimationValue
source§fn clone(&self) -> SpriteAnimationValue
fn clone(&self) -> SpriteAnimationValue
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for SpriteAnimationValue
impl Debug for SpriteAnimationValue
source§impl<'de> Deserialize<'de> for SpriteAnimationValue
impl<'de> Deserialize<'de> for SpriteAnimationValue
source§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
source§impl From<bool> for SpriteAnimationValue
impl From<bool> for SpriteAnimationValue
source§impl From<f32> for SpriteAnimationValue
impl From<f32> for SpriteAnimationValue
source§impl From<i32> for SpriteAnimationValue
impl From<i32> for SpriteAnimationValue
source§impl PartialEq<SpriteAnimationValue> for SpriteAnimationValue
impl PartialEq<SpriteAnimationValue> for SpriteAnimationValue
source§fn eq(&self, other: &SpriteAnimationValue) -> bool
fn eq(&self, other: &SpriteAnimationValue) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for SpriteAnimationValue
impl Serialize for SpriteAnimationValue
impl Copy for SpriteAnimationValue
impl StructuralPartialEq for SpriteAnimationValue
Auto Trait Implementations§
impl RefUnwindSafe for SpriteAnimationValue
impl Send for SpriteAnimationValue
impl Sync for SpriteAnimationValue
impl Unpin for SpriteAnimationValue
impl UnwindSafe for SpriteAnimationValue
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more