pub enum GltfNodeRestKind {
Trs,
Matrix,
}Expand description
Whether a node authored decomposed TRS or a matrix.
Variants§
Trs
No matrix was declared, so the node uses glTF TRS properties/defaults.
Matrix
The node declared a local matrix.
Trait Implementations§
Source§impl Clone for GltfNodeRestKind
impl Clone for GltfNodeRestKind
Source§fn clone(&self) -> GltfNodeRestKind
fn clone(&self) -> GltfNodeRestKind
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 moreimpl Copy for GltfNodeRestKind
Source§impl Debug for GltfNodeRestKind
impl Debug for GltfNodeRestKind
impl Eq for GltfNodeRestKind
Source§impl Ord for GltfNodeRestKind
impl Ord for GltfNodeRestKind
Source§fn cmp(&self, other: &GltfNodeRestKind) -> Ordering
fn cmp(&self, other: &GltfNodeRestKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for GltfNodeRestKind
impl PartialEq for GltfNodeRestKind
Source§impl PartialOrd for GltfNodeRestKind
impl PartialOrd for GltfNodeRestKind
Source§impl Serialize for GltfNodeRestKind
impl Serialize for GltfNodeRestKind
impl StructuralPartialEq for GltfNodeRestKind
Auto Trait Implementations§
impl Freeze for GltfNodeRestKind
impl RefUnwindSafe for GltfNodeRestKind
impl Send for GltfNodeRestKind
impl Sync for GltfNodeRestKind
impl Unpin for GltfNodeRestKind
impl UnsafeUnpin for GltfNodeRestKind
impl UnwindSafe for GltfNodeRestKind
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