#[repr(u32)]pub enum StopMode {
AllowFadeout = 0,
Immediate = 1,
}Variants§
Trait Implementations§
source§impl PartialEq for StopMode
impl PartialEq for StopMode
source§impl TryFrom<u32> for StopMode
impl TryFrom<u32> for StopMode
§type Error = TryFromPrimitiveError<StopMode>
type Error = TryFromPrimitiveError<StopMode>
The type returned in the event of a conversion error.
source§impl TryFromPrimitive for StopMode
impl TryFromPrimitive for StopMode
source§impl UnsafeFromPrimitive for StopMode
impl UnsafeFromPrimitive for StopMode
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 StopMode
impl Eq for StopMode
impl StructuralPartialEq for StopMode
Auto Trait Implementations§
impl Freeze for StopMode
impl RefUnwindSafe for StopMode
impl Send for StopMode
impl Sync for StopMode
impl Unpin for StopMode
impl UnwindSafe for StopMode
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