pub struct TransformOp { /* private fields */ }Expand description
Wraps the corresponding Model I/O transform op counterpart.
Implementations§
Source§impl TransformOp
impl TransformOp
Sourcepub fn new<F>(callback: F) -> Result<Self>
pub fn new<F>(callback: F) -> Result<Self>
Wraps a Rust callback as the corresponding Model I/O transform op protocol counterpart.
Sourcepub fn name(&self) -> Option<String>
pub fn name(&self) -> Option<String>
Calls the corresponding Model I/O method on the wrapped Model I/O transform op counterpart.
Sourcepub fn is_inverse(&self) -> bool
pub fn is_inverse(&self) -> bool
Calls the corresponding Model I/O method on the wrapped Model I/O transform op counterpart.
Sourcepub fn float4x4_at_time(&self, time: f64) -> [f32; 16]
pub fn float4x4_at_time(&self, time: f64) -> [f32; 16]
Calls the corresponding Model I/O method on the wrapped Model I/O transform op counterpart.
Sourcepub fn double4x4_at_time(&self, time: f64) -> [f64; 16]
pub fn double4x4_at_time(&self, time: f64) -> [f64; 16]
Calls the corresponding Model I/O method on the wrapped Model I/O transform op counterpart.
Trait Implementations§
Source§impl Clone for TransformOp
impl Clone for TransformOp
Source§fn clone(&self) -> TransformOp
fn clone(&self) -> TransformOp
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 TransformOp
impl RefUnwindSafe for TransformOp
impl !Send for TransformOp
impl !Sync for TransformOp
impl Unpin for TransformOp
impl UnsafeUnpin for TransformOp
impl UnwindSafe for TransformOp
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