Enum dae_parser::AnnotType
source · [−]pub enum AnnotType {
Show 16 variants
Bool(bool),
Bool2([bool; 2]),
Bool3([bool; 3]),
Bool4([bool; 4]),
Int(u32),
Int2([u32; 2]),
Int3(Box<[u32; 3]>),
Int4(Box<[u32; 4]>),
Float(f32),
Float2([f32; 2]),
Float3(Box<[f32; 3]>),
Float4(Box<[f32; 4]>),
Float2x2(Box<[f32; 4]>),
Float3x3(Box<[f32; 9]>),
Float4x4(Box<[f32; 16]>),
String(Box<str>),
}Expand description
A strongly typed value that represents the VALUE in an object of the form SYMBOL = VALUE.
Variants
Bool(bool)
bool type
Bool2([bool; 2])
bool2 type
Bool3([bool; 3])
bool3 type
Bool4([bool; 4])
bool4 type
Int(u32)
int type
Int2([u32; 2])
int2 type
Int3(Box<[u32; 3]>)
int3 type
Int4(Box<[u32; 4]>)
int4 type
Float(f32)
float type
Float2([f32; 2])
float2 type
Float3(Box<[f32; 3]>)
float3 type
Float4(Box<[f32; 4]>)
float4 type
Float2x2(Box<[f32; 4]>)
float2x2 type (linearized)
Float3x3(Box<[f32; 9]>)
float3x3 type (linearized)
Float4x4(Box<[f32; 16]>)
float4x4 type (linearized)
String(Box<str>)
string type
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AnnotType
impl Send for AnnotType
impl Sync for AnnotType
impl Unpin for AnnotType
impl UnwindSafe for AnnotType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more