pub enum VariantType {
Show 16 variants
Invalid,
Boolean,
Double,
Vector2,
Vector3,
Vector4,
Vector,
Vector3D,
FerroMatrix,
Matrix3x2,
Matrix4x4,
Quaternion,
Color,
RelativePoint,
RelativeScalar,
RelativeUnit,
}Expand description
The type of the value held by an ExpressionVariant.
Variants§
Invalid
Boolean
Double
Vector2
Vector3
Vector4
Vector
Vector3D
FerroMatrix
Matrix3x2
Matrix4x4
Quaternion
Color
RelativePoint
RelativeScalar
RelativeUnit
Trait Implementations§
Source§impl Clone for VariantType
impl Clone for VariantType
impl Copy for VariantType
Source§impl Debug for VariantType
impl Debug for VariantType
Source§impl Default for VariantType
impl Default for VariantType
impl Eq for VariantType
Source§impl Hash for VariantType
impl Hash for VariantType
Source§impl PartialEq for VariantType
impl PartialEq for VariantType
impl StructuralPartialEq for VariantType
Auto Trait Implementations§
impl Freeze for VariantType
impl RefUnwindSafe for VariantType
impl Send for VariantType
impl Sync for VariantType
impl Unpin for VariantType
impl UnsafeUnpin for VariantType
impl UnwindSafe for VariantType
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more