pub struct AnimatedScalarArray { /* private fields */ }Expand description
Wraps the corresponding Model I/O animated scalar array counterpart.
Implementations§
Source§impl AnimatedScalarArray
impl AnimatedScalarArray
Sourcepub fn new(element_count: usize) -> Result<Self>
pub fn new(element_count: usize) -> Result<Self>
Wraps the corresponding Model I/O initializer for the wrapped Model I/O animated scalar array 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 array counterpart.
Sourcepub fn clear(&self)
pub fn clear(&self)
Calls the corresponding Model I/O method on the wrapped Model I/O animated scalar array 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 array counterpart.
Sourcepub fn set_float_array(&self, values: &[f32], time: f64)
pub fn set_float_array(&self, values: &[f32], time: f64)
Calls the corresponding Model I/O method on the wrapped Model I/O animated scalar array counterpart.
Trait Implementations§
Source§impl Clone for AnimatedScalarArray
impl Clone for AnimatedScalarArray
Source§fn clone(&self) -> AnimatedScalarArray
fn clone(&self) -> AnimatedScalarArray
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 AnimatedScalarArray
impl RefUnwindSafe for AnimatedScalarArray
impl !Send for AnimatedScalarArray
impl !Sync for AnimatedScalarArray
impl Unpin for AnimatedScalarArray
impl UnsafeUnpin for AnimatedScalarArray
impl UnwindSafe for AnimatedScalarArray
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