pub struct AnimatedScalar { /* private fields */ }Expand description
Wraps the corresponding Model I/O animated scalar counterpart.
Implementations§
Source§impl AnimatedScalar
impl AnimatedScalar
Sourcepub fn new() -> Result<Self>
pub fn new() -> Result<Self>
Wraps the corresponding Model I/O initializer for the wrapped Model I/O animated scalar counterpart.
Sourcepub fn info(&self) -> Result<AnimatedValueInfo>
pub fn info(&self) -> Result<AnimatedValueInfo>
Calls the corresponding Model I/O method on the wrapped Model I/O animated scalar counterpart.
Sourcepub fn clear(&self)
pub fn clear(&self)
Calls the corresponding Model I/O method on the wrapped Model I/O animated scalar counterpart.
Sourcepub fn set_interpolation(&self, interpolation: AnimatedValueInterpolation)
pub fn set_interpolation(&self, interpolation: AnimatedValueInterpolation)
Calls the corresponding Model I/O method on the wrapped Model I/O animated scalar counterpart.
Sourcepub fn set_float(&self, value: f32, time: f64)
pub fn set_float(&self, value: f32, time: f64)
Calls the corresponding Model I/O method on the wrapped Model I/O animated scalar counterpart.
Sourcepub fn float_value(&self, time: f64) -> f32
pub fn float_value(&self, time: f64) -> f32
Calls the corresponding Model I/O method on the wrapped Model I/O animated scalar counterpart.
Trait Implementations§
Source§impl Clone for AnimatedScalar
impl Clone for AnimatedScalar
Source§fn clone(&self) -> AnimatedScalar
fn clone(&self) -> AnimatedScalar
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 moreAuto Trait Implementations§
impl Freeze for AnimatedScalar
impl RefUnwindSafe for AnimatedScalar
impl !Send for AnimatedScalar
impl !Sync for AnimatedScalar
impl Unpin for AnimatedScalar
impl UnsafeUnpin for AnimatedScalar
impl UnwindSafe for AnimatedScalar
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