pub struct ScalarKeyframe {
pub time: Duration,
pub value: f32,
}Fields§
§time: Duration§value: f32Trait Implementations§
Source§impl Clone for ScalarKeyframe
impl Clone for ScalarKeyframe
Source§fn clone(&self) -> ScalarKeyframe
fn clone(&self) -> ScalarKeyframe
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ScalarKeyframe
impl Debug for ScalarKeyframe
Source§impl<'de> Deserialize<'de> for ScalarKeyframe
impl<'de> Deserialize<'de> for ScalarKeyframe
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 PartialEq for ScalarKeyframe
impl PartialEq for ScalarKeyframe
Source§fn eq(&self, other: &ScalarKeyframe) -> bool
fn eq(&self, other: &ScalarKeyframe) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ScalarKeyframe
impl Serialize for ScalarKeyframe
impl StructuralPartialEq for ScalarKeyframe
Auto Trait Implementations§
impl Freeze for ScalarKeyframe
impl RefUnwindSafe for ScalarKeyframe
impl Send for ScalarKeyframe
impl Sync for ScalarKeyframe
impl Unpin for ScalarKeyframe
impl UnsafeUnpin for ScalarKeyframe
impl UnwindSafe for ScalarKeyframe
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