#[repr(u32)]pub enum InstanceType {
None = 0,
System = 1,
EventDescription = 2,
EventInstance = 3,
ParameterInstance = 4,
Bus = 5,
Vca = 6,
Bank = 7,
CommandReplay = 8,
}
Available on crate feature
studio
only.Expand description
Command replay command instance handle types.
Variants§
None = 0
No type, handle is unused.
System = 1
System
.
EventDescription = 2
EventDescription
.
EventInstance = 3
EventInstance
.
ParameterInstance = 4
ParameterInstance
.
Bus = 5
Bus
.
Vca = 6
Vca
.
Bank = 7
Bank
.
CommandReplay = 8
CommandReplay
.
Trait Implementations§
Source§impl Clone for InstanceType
impl Clone for InstanceType
Source§fn clone(&self) -> InstanceType
fn clone(&self) -> InstanceType
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 InstanceType
impl Debug for InstanceType
Source§impl From<InstanceType> for u32
impl From<InstanceType> for u32
Source§fn from(enum_value: InstanceType) -> Self
fn from(enum_value: InstanceType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for InstanceType
impl PartialEq for InstanceType
Source§impl TryFrom<u32> for InstanceType
impl TryFrom<u32> for InstanceType
Source§type Error = TryFromPrimitiveError<InstanceType>
type Error = TryFromPrimitiveError<InstanceType>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for InstanceType
impl TryFromPrimitive for InstanceType
const NAME: &'static str = "InstanceType"
type Primitive = u32
type Error = TryFromPrimitiveError<InstanceType>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
Source§impl UnsafeFromPrimitive for InstanceType
impl UnsafeFromPrimitive for InstanceType
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 InstanceType
impl Eq for InstanceType
impl StructuralPartialEq for InstanceType
Auto Trait Implementations§
impl Freeze for InstanceType
impl RefUnwindSafe for InstanceType
impl Send for InstanceType
impl Sync for InstanceType
impl Unpin for InstanceType
impl UnwindSafe for InstanceType
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