pub enum ParamType {
None,
Bool(bool),
Float(f32),
Int(i64),
Vec2(Vec2),
Vec3(Vec3),
Vec4(Vec4),
Quat(Quat),
}Expand description
Parameter type
Variants§
None
No param type
Bool(bool)
Boolean
Float(f32)
Float
Int(i64)
Integer
Vec2(Vec2)
2d vector
Vec3(Vec3)
3d vector
Vec4(Vec4)
4d vector
Quat(Quat)
Quaternion
Trait Implementations§
source§impl<'de> Deserialize<'de> for ParamType
impl<'de> Deserialize<'de> for ParamType
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
source§impl PartialEq<ParamType> for ParamType
impl PartialEq<ParamType> for ParamType
impl Copy for ParamType
impl StructuralPartialEq for ParamType
Auto Trait Implementations§
impl RefUnwindSafe for ParamType
impl Send for ParamType
impl Sync for ParamType
impl Unpin for ParamType
impl UnwindSafe for ParamType
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