Enum ark_api::world::ParameterSemantic
source · [−]#[repr(u32)]
#[non_exhaustive]
pub enum ParameterSemantic {
Show 18 variants
Unspecified,
EntityHandle,
Position,
Scale,
Rotation,
Color,
MeshStyleFlags,
DynamicLockFlags,
CharacterCollisionFlags,
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
CharacterCollisionFlags
JointType
JointLimitType
NormalizedDirection
Direction
Bitmask
CameraProjectionMode
AngleDegrees
DataHandle
Count
Trait Implementations
sourceimpl Clone for ParameterSemantic
impl Clone for ParameterSemantic
sourcefn clone(&self) -> ParameterSemantic
fn clone(&self) -> ParameterSemantic
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ParameterSemantic
impl Debug for ParameterSemantic
sourceimpl Hash for ParameterSemantic
impl Hash for ParameterSemantic
sourceimpl PartialEq<ParameterSemantic> for ParameterSemantic
impl PartialEq<ParameterSemantic> for ParameterSemantic
sourcefn 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 ==
. Read more
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
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