#[repr(u32)]pub enum ThreadType {
Show 13 variants
Mixer = 0,
Feeder = 1,
Stream = 2,
File = 3,
NonBlocking = 4,
Record = 5,
Geometry = 6,
Profiler = 7,
StudioUpdate = 8,
StudioLoadBank = 9,
StudioLoadSample = 10,
Convolution1 = 11,
Convolution2 = 12,
}Variants§
Mixer = 0
Feeder = 1
Stream = 2
File = 3
NonBlocking = 4
Record = 5
Geometry = 6
Profiler = 7
StudioUpdate = 8
StudioLoadBank = 9
StudioLoadSample = 10
Convolution1 = 11
Convolution2 = 12
Trait Implementations§
Source§impl Clone for ThreadType
impl Clone for ThreadType
Source§fn clone(&self) -> ThreadType
fn clone(&self) -> ThreadType
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 ThreadType
impl Debug for ThreadType
Source§impl From<ThreadType> for u32
impl From<ThreadType> for u32
Source§fn from(enum_value: ThreadType) -> Self
fn from(enum_value: ThreadType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ThreadType
impl PartialEq for ThreadType
Source§impl TryFrom<u32> for ThreadType
impl TryFrom<u32> for ThreadType
Source§type Error = TryFromPrimitiveError<ThreadType>
type Error = TryFromPrimitiveError<ThreadType>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for ThreadType
impl TryFromPrimitive for ThreadType
const NAME: &'static str = "ThreadType"
type Primitive = u32
type Error = TryFromPrimitiveError<ThreadType>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
Source§impl UnsafeFromPrimitive for ThreadType
impl UnsafeFromPrimitive for ThreadType
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 ThreadType
impl Eq for ThreadType
impl StructuralPartialEq for ThreadType
Auto Trait Implementations§
impl Freeze for ThreadType
impl RefUnwindSafe for ThreadType
impl Send for ThreadType
impl Sync for ThreadType
impl Unpin for ThreadType
impl UnwindSafe for ThreadType
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