pub enum TransformOpResponse {
Name(Option<String>),
Float4x4([f32; 16]),
Double4x4([f64; 16]),
Bool(bool),
None,
}Expand description
Returns the result of one MDLTransformOp protocol request.
Variants§
Name(Option<String>)
Returns an optional name.
Float4x4([f32; 16])
Returns a single-precision matrix.
Double4x4([f64; 16])
Returns a double-precision matrix.
Bool(bool)
Returns a boolean result.
None
Indicates that the callback did not provide a value.
Trait Implementations§
Source§impl Clone for TransformOpResponse
impl Clone for TransformOpResponse
Source§fn clone(&self) -> TransformOpResponse
fn clone(&self) -> TransformOpResponse
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 TransformOpResponse
impl RefUnwindSafe for TransformOpResponse
impl Send for TransformOpResponse
impl Sync for TransformOpResponse
impl Unpin for TransformOpResponse
impl UnsafeUnpin for TransformOpResponse
impl UnwindSafe for TransformOpResponse
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