Enum ark_api::world::ParameterSemantic
source · #[non_exhaustive]#[repr(u32)]pub enum ParameterSemantic {
Show 17 variants
Unspecified,
EntityHandle,
Position,
Scale,
Rotation,
Color,
MeshStyleFlags,
DynamicLockFlags,
JointType,
JointLimitType,
NormalizedDirection,
Direction,
Bitmask,
CameraProjectionMode,
AngleDegrees,
DataHandle,
Count,
}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
EntityHandle
Position
Scale
Rotation
Color
MeshStyleFlags
DynamicLockFlags
JointType
JointLimitType
NormalizedDirection
Direction
Bitmask
CameraProjectionMode
AngleDegrees
DataHandle
Count
Trait Implementations§
source§impl Clone for ParameterSemantic
impl Clone for ParameterSemantic
source§fn clone(&self) -> ParameterSemantic
fn clone(&self) -> ParameterSemantic
Returns a copy 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<ParameterSemantic> for ParameterSemantic
impl PartialEq<ParameterSemantic> for ParameterSemantic
source§fn eq(&self, other: &ParameterSemantic) -> bool
fn eq(&self, other: &ParameterSemantic) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for ParameterSemantic
impl Eq for ParameterSemantic
impl StructuralEq for ParameterSemantic
impl StructuralPartialEq for ParameterSemantic
Auto Trait Implementations§
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