pub enum PredictionUnitV1 {
Metre,
EngineWorldLengthUnit,
}Expand description
Unit subjects used by exact unit mapping.
Variants§
Metre
glTF metre-per-unit source semantics.
EngineWorldLengthUnit
One target engine world-space length unit.
Trait Implementations§
Source§impl Clone for PredictionUnitV1
impl Clone for PredictionUnitV1
Source§fn clone(&self) -> PredictionUnitV1
fn clone(&self) -> PredictionUnitV1
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 PredictionUnitV1
Source§impl Debug for PredictionUnitV1
impl Debug for PredictionUnitV1
Source§impl<'de> Deserialize<'de> for PredictionUnitV1
impl<'de> Deserialize<'de> for PredictionUnitV1
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 PredictionUnitV1
Source§impl Ord for PredictionUnitV1
impl Ord for PredictionUnitV1
Source§fn cmp(&self, other: &PredictionUnitV1) -> Ordering
fn cmp(&self, other: &PredictionUnitV1) -> 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 PredictionUnitV1
impl PartialEq for PredictionUnitV1
Source§impl PartialOrd for PredictionUnitV1
impl PartialOrd for PredictionUnitV1
Source§impl Serialize for PredictionUnitV1
impl Serialize for PredictionUnitV1
impl StructuralPartialEq for PredictionUnitV1
Auto Trait Implementations§
impl Freeze for PredictionUnitV1
impl RefUnwindSafe for PredictionUnitV1
impl Send for PredictionUnitV1
impl Sync for PredictionUnitV1
impl Unpin for PredictionUnitV1
impl UnsafeUnpin for PredictionUnitV1
impl UnwindSafe for PredictionUnitV1
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