#[non_exhaustive]#[repr(u32)]pub enum ParameterSemantic {
Show 18 variants
Unspecified = 0,
EntityHandle = 1,
Position = 3,
Scale = 4,
Rotation = 5,
Color = 6,
MeshStyleFlags = 7,
DynamicLockFlags = 8,
CharacterCollisionFlags = 9,
JointType = 10,
JointLimitType = 11,
NormalizedDirection = 12,
Direction = 13,
Bitmask = 15,
CameraProjectionMode = 16,
AngleDegrees = 17,
DataHandle = 18,
Count = 19,
}Expand description
Describes what a component parameter is or what it is used for.
Useful for doing ui or serialization of data.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unspecified = 0
EntityHandle = 1
Position = 3
Scale = 4
Rotation = 5
Color = 6
MeshStyleFlags = 7
DynamicLockFlags = 8
CharacterCollisionFlags = 9
JointType = 10
JointLimitType = 11
NormalizedDirection = 12
Direction = 13
Bitmask = 15
CameraProjectionMode = 16
AngleDegrees = 17
DataHandle = 18
Count = 19
Trait Implementations§
Source§impl Clone for ParameterSemantic
impl Clone for ParameterSemantic
Source§fn clone(&self) -> ParameterSemantic
fn clone(&self) -> ParameterSemantic
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParameterSemantic
impl Debug for ParameterSemantic
Source§impl Hash for ParameterSemantic
impl Hash for ParameterSemantic
Source§impl PartialEq for ParameterSemantic
impl PartialEq for ParameterSemantic
impl Copy for ParameterSemantic
impl Eq for ParameterSemantic
impl StructuralPartialEq for ParameterSemantic
Auto Trait Implementations§
impl Freeze for ParameterSemantic
impl RefUnwindSafe for ParameterSemantic
impl Send for ParameterSemantic
impl Sync for ParameterSemantic
impl Unpin for ParameterSemantic
impl UnwindSafe for ParameterSemantic
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