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
sourceimpl<'de> Deserialize<'de> for ParamType
impl<'de> Deserialize<'de> for ParamType
sourcefn 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
sourceimpl 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
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