pub struct Sound(/* private fields */);Expand description
SND_*: A sound effect.
This is the event code of SoundEvents.
Implementations§
Trait Implementations§
Source§impl<'a> Deserialize<'a> for Sound
Available on crate feature serde only.Deserialization from a raw 16-bit code or a named constant.
impl<'a> Deserialize<'a> for Sound
Available on crate feature
serde only.Deserialization from a raw 16-bit code or a named constant.
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'a>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'a>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for Sound
impl Ord for Sound
Source§impl PartialOrd for Sound
impl PartialOrd for Sound
impl Copy for Sound
impl Eq for Sound
impl StructuralPartialEq for Sound
Auto Trait Implementations§
impl Freeze for Sound
impl RefUnwindSafe for Sound
impl Send for Sound
impl Sync for Sound
impl Unpin for Sound
impl UnwindSafe for Sound
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