Enum fmod::SoundGroupBehavior
source · #[repr(u32)]pub enum SoundGroupBehavior {
Fail = 0,
Mute = 1,
StealLowest = 2,
}Variants§
Trait Implementations§
source§impl Clone for SoundGroupBehavior
impl Clone for SoundGroupBehavior
source§fn clone(&self) -> SoundGroupBehavior
fn clone(&self) -> SoundGroupBehavior
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 SoundGroupBehavior
impl Debug for SoundGroupBehavior
source§impl From<SoundGroupBehavior> for u32
impl From<SoundGroupBehavior> for u32
source§fn from(enum_value: SoundGroupBehavior) -> Self
fn from(enum_value: SoundGroupBehavior) -> Self
Converts to this type from the input type.
source§impl PartialEq for SoundGroupBehavior
impl PartialEq for SoundGroupBehavior
source§fn eq(&self, other: &SoundGroupBehavior) -> bool
fn eq(&self, other: &SoundGroupBehavior) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl TryFrom<u32> for SoundGroupBehavior
impl TryFrom<u32> for SoundGroupBehavior
§type Error = TryFromPrimitiveError<SoundGroupBehavior>
type Error = TryFromPrimitiveError<SoundGroupBehavior>
The type returned in the event of a conversion error.
source§impl TryFromPrimitive for SoundGroupBehavior
impl TryFromPrimitive for SoundGroupBehavior
type Primitive = u32
type Error = TryFromPrimitiveError<SoundGroupBehavior>
const NAME: &'static str = "SoundGroupBehavior"
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
source§impl UnsafeFromPrimitive for SoundGroupBehavior
impl UnsafeFromPrimitive for SoundGroupBehavior
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 SoundGroupBehavior
impl Eq for SoundGroupBehavior
impl StructuralPartialEq for SoundGroupBehavior
Auto Trait Implementations§
impl Freeze for SoundGroupBehavior
impl RefUnwindSafe for SoundGroupBehavior
impl Send for SoundGroupBehavior
impl Sync for SoundGroupBehavior
impl Unpin for SoundGroupBehavior
impl UnwindSafe for SoundGroupBehavior
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