Struct minetest_protocol::wire::command::FadeSoundSpec
source · pub struct FadeSoundSpec {
pub sound_id: s32,
pub step: f32,
pub gain: f32,
}
Fields§
§sound_id: s32
§step: f32
§gain: f32
Trait Implementations§
source§impl Clone for FadeSoundSpec
impl Clone for FadeSoundSpec
source§fn clone(&self) -> FadeSoundSpec
fn clone(&self) -> FadeSoundSpec
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 FadeSoundSpec
impl Debug for FadeSoundSpec
source§impl Deserialize for FadeSoundSpec
impl Deserialize for FadeSoundSpec
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self>
source§impl From<FadeSoundSpec> for ToClientCommand
impl From<FadeSoundSpec> for ToClientCommand
source§fn from(value: FadeSoundSpec) -> Self
fn from(value: FadeSoundSpec) -> Self
Converts to this type from the input type.
source§impl PartialEq<FadeSoundSpec> for FadeSoundSpec
impl PartialEq<FadeSoundSpec> for FadeSoundSpec
source§fn eq(&self, other: &FadeSoundSpec) -> bool
fn eq(&self, other: &FadeSoundSpec) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.