Enum rg3d_core::visitor::FieldKind [−][src]
pub enum FieldKind {}Show variants
Bool(bool), U8(u8), I8(i8), U16(u16), I16(i16), U32(u32), I32(i32), U64(u64), I64(i64), F32(f32), F64(f64), Vector3(Vector3<f32>), UnitQuaternion(UnitQuaternion<f32>), Matrix4(Matrix4<f32>), Data(Vec<u8>), Matrix3(Matrix3<f32>), Vector2(Vector2<f32>), Vector4(Vector4<f32>), Uuid(Uuid), UnitComplex(UnitComplex<f32>), PodArray { type_id: u8, element_size: u32, bytes: Vec<u8>, },
Variants
Bool(bool)
U8(u8)
I8(i8)
U16(u16)
I16(i16)
U32(u32)
I32(i32)
U64(u64)
I64(i64)
F32(f32)
F64(f64)
UnitQuaternion(UnitQuaternion<f32>)
Uuid(Uuid)
UnitComplex(UnitComplex<f32>)
Auto Trait Implementations
impl RefUnwindSafe for FieldKind
impl UnwindSafe for FieldKind
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
The inverse inclusion map: attempts to construct self
from the equivalent element of its
superset. Read more
pub fn is_in_subset(&self) -> bool
pub fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).
pub fn to_subset_unchecked(&self) -> SS
pub fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.
pub fn from_subset(element: &SS) -> SP
pub fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.
pub fn vzip(self) -> V