pub enum EngineLinearUnitV2 {
Metre,
Centimetre,
EngineWorldLengthUnit,
}Expand description
Closed unit vocabulary for exact importer prediction.
Variants§
Metre
glTF metre-per-unit semantics.
Centimetre
Centimetre-authored numeric units.
EngineWorldLengthUnit
One engine world-space length unit, without a physical-unit guarantee.
Trait Implementations§
Source§impl Clone for EngineLinearUnitV2
impl Clone for EngineLinearUnitV2
Source§fn clone(&self) -> EngineLinearUnitV2
fn clone(&self) -> EngineLinearUnitV2
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 EngineLinearUnitV2
Source§impl Debug for EngineLinearUnitV2
impl Debug for EngineLinearUnitV2
Source§impl<'de> Deserialize<'de> for EngineLinearUnitV2
impl<'de> Deserialize<'de> for EngineLinearUnitV2
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for EngineLinearUnitV2
Source§impl Ord for EngineLinearUnitV2
impl Ord for EngineLinearUnitV2
Source§fn cmp(&self, other: &EngineLinearUnitV2) -> Ordering
fn cmp(&self, other: &EngineLinearUnitV2) -> 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 EngineLinearUnitV2
impl PartialEq for EngineLinearUnitV2
Source§impl PartialOrd for EngineLinearUnitV2
impl PartialOrd for EngineLinearUnitV2
Source§impl Serialize for EngineLinearUnitV2
impl Serialize for EngineLinearUnitV2
impl StructuralPartialEq for EngineLinearUnitV2
Auto Trait Implementations§
impl Freeze for EngineLinearUnitV2
impl RefUnwindSafe for EngineLinearUnitV2
impl Send for EngineLinearUnitV2
impl Sync for EngineLinearUnitV2
impl Unpin for EngineLinearUnitV2
impl UnsafeUnpin for EngineLinearUnitV2
impl UnwindSafe for EngineLinearUnitV2
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