pub enum TransformComponentResponse {
Matrix([f32; 16]),
Bool(bool),
Time(f64),
KeyTimes(Vec<f64>),
None,
}Expand description
Returns the result of one MDLTransformComponent protocol request.
Variants§
Matrix([f32; 16])
Returns a matrix result.
Bool(bool)
Returns a boolean result.
Time(f64)
Returns a time result.
KeyTimes(Vec<f64>)
Returns a key-time array result.
None
Indicates that the callback did not provide a value.
Trait Implementations§
Source§impl Clone for TransformComponentResponse
impl Clone for TransformComponentResponse
Source§fn clone(&self) -> TransformComponentResponse
fn clone(&self) -> TransformComponentResponse
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 TransformComponentResponse
impl RefUnwindSafe for TransformComponentResponse
impl Send for TransformComponentResponse
impl Sync for TransformComponentResponse
impl Unpin for TransformComponentResponse
impl UnsafeUnpin for TransformComponentResponse
impl UnwindSafe for TransformComponentResponse
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