Enum dpc::common::mc::SoundSource
source · pub enum SoundSource {
Master,
Music,
Record,
Weather,
Block,
Hostile,
Neutral,
Player,
Ambient,
Voice,
}Variants§
Implementations§
Trait Implementations§
source§impl Clone for SoundSource
impl Clone for SoundSource
source§fn clone(&self) -> SoundSource
fn clone(&self) -> SoundSource
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 Codegen for SoundSource
impl Codegen for SoundSource
fn gen_writer<F>(
&self,
f: &mut F,
cbcx: &mut CodegenBlockCx<'_, '_>
) -> Result<()>where
F: Write,
fn gen_str(&self, cbcx: &mut CodegenBlockCx<'_, '_>) -> Result<String>
source§impl Debug for SoundSource
impl Debug for SoundSource
source§impl PartialEq for SoundSource
impl PartialEq for SoundSource
source§fn eq(&self, other: &SoundSource) -> bool
fn eq(&self, other: &SoundSource) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for SoundSource
impl StructuralEq for SoundSource
impl StructuralPartialEq for SoundSource
Auto Trait Implementations§
impl RefUnwindSafe for SoundSource
impl Send for SoundSource
impl Sync for SoundSource
impl Unpin for SoundSource
impl UnwindSafe for SoundSource
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