#[repr(u32)]pub enum ParameterKind {
GameControlled = 0,
AutomaticDistance = 1,
AutomaticEventConeAngle = 2,
AutomaticEventOrientation = 3,
AutomaticDirection = 4,
AutomaticElevation = 5,
AutomaticListenerOrientation = 6,
AutomaticSpeed = 7,
AutomaticSpeedAbsolute = 8,
AutomaticDistanceNormalized = 9,
}Variants§
GameControlled = 0
AutomaticDistance = 1
AutomaticEventConeAngle = 2
AutomaticEventOrientation = 3
AutomaticDirection = 4
AutomaticElevation = 5
AutomaticListenerOrientation = 6
AutomaticSpeed = 7
AutomaticSpeedAbsolute = 8
AutomaticDistanceNormalized = 9
Trait Implementations§
Source§impl Clone for ParameterKind
impl Clone for ParameterKind
Source§fn clone(&self) -> ParameterKind
fn clone(&self) -> ParameterKind
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 ParameterKind
impl Debug for ParameterKind
Source§impl From<ParameterKind> for u32
impl From<ParameterKind> for u32
Source§fn from(enum_value: ParameterKind) -> Self
fn from(enum_value: ParameterKind) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ParameterKind
impl PartialEq for ParameterKind
Source§impl TryFrom<u32> for ParameterKind
impl TryFrom<u32> for ParameterKind
Source§type Error = TryFromPrimitiveError<ParameterKind>
type Error = TryFromPrimitiveError<ParameterKind>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for ParameterKind
impl TryFromPrimitive for ParameterKind
const NAME: &'static str = "ParameterKind"
type Primitive = u32
type Error = TryFromPrimitiveError<ParameterKind>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
Source§impl UnsafeFromPrimitive for ParameterKind
impl UnsafeFromPrimitive for ParameterKind
type Primitive = u32
Source§unsafe fn unchecked_transmute_from(number: Self::Primitive) -> Self
unsafe fn unchecked_transmute_from(number: Self::Primitive) -> Self
Transmutes into an enum from its primitive. Read more
Source§unsafe fn from_unchecked(number: Self::Primitive) -> Self
unsafe fn from_unchecked(number: Self::Primitive) -> Self
👎Deprecated since 0.6.0: Prefer to use
unchecked_transmute_from, from_unchecked will be removed in a future release.Transmutes into an enum from its primitive. Read more
impl Copy for ParameterKind
impl Eq for ParameterKind
impl StructuralPartialEq for ParameterKind
Auto Trait Implementations§
impl Freeze for ParameterKind
impl RefUnwindSafe for ParameterKind
impl Send for ParameterKind
impl Sync for ParameterKind
impl Unpin for ParameterKind
impl UnwindSafe for ParameterKind
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