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