Struct minetest_protocol::wire::types::SimpleSoundSpec   
source · pub struct SimpleSoundSpec {
    pub name: String,
    pub gain: f32,
    pub pitch: f32,
    pub fade: f32,
}Fields§
§name: String§gain: f32§pitch: f32§fade: f32Trait Implementations§
source§impl Clone for SimpleSoundSpec
 
impl Clone for SimpleSoundSpec
source§fn clone(&self) -> SimpleSoundSpec
 
fn clone(&self) -> SimpleSoundSpec
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 SimpleSoundSpec
 
impl Debug for SimpleSoundSpec
source§impl Deserialize for SimpleSoundSpec
 
impl Deserialize for SimpleSoundSpec
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self>
source§impl PartialEq<SimpleSoundSpec> for SimpleSoundSpec
 
impl PartialEq<SimpleSoundSpec> for SimpleSoundSpec
source§fn eq(&self, other: &SimpleSoundSpec) -> bool
 
fn eq(&self, other: &SimpleSoundSpec) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.