#[repr(u32)]pub enum SoundGen {
Left = 0,
Right = 1,
SwimLeft = 2,
SwimRight = 3,
Moan = 4,
Roar = 5,
Scream = 6,
Land = 7,
}
Variants§
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for SoundGen
impl<'de> Deserialize<'de> for SoundGen
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for SoundGen
impl Ord for SoundGen
source§impl PartialEq for SoundGen
impl PartialEq for SoundGen
source§impl PartialOrd for SoundGen
impl PartialOrd for SoundGen
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Display for SoundGen
impl Display for SoundGen
source§fn fmt(&self, f: &mut std_fmt_Formatter<'_>) -> std_fmt_Result
fn fmt(&self, f: &mut std_fmt_Formatter<'_>) -> std_fmt_Result
Formats the value using the given formatter. Read more
impl Copy for SoundGen
impl Eq for SoundGen
impl StructuralEq for SoundGen
impl StructuralPartialEq for SoundGen
Auto Trait Implementations§
impl RefUnwindSafe for SoundGen
impl Send for SoundGen
impl Sync for SoundGen
impl Unpin for SoundGen
impl UnwindSafe for SoundGen
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