#[repr(u32)]pub enum StopMode {
AllowFadeout = 0,
Immediate = 1,
}
Available on crate feature
studio
only.Expand description
Loaded and ready to play.
Variants§
AllowFadeout = 0
Allows AHDSR modulators to complete their release, and DSP effect tails to play out.
Immediate = 1
Stops the event instance immediately.
Trait Implementations§
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