pub struct SimpleSoundSpec {
pub name: String,
pub gain: f32,
pub pitch: f32,
pub fade: f32,
}
Fields§
§name: String
§gain: f32
§pitch: f32
§fade: f32
Trait 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
Source§type Output = SimpleSoundSpec
type Output = SimpleSoundSpec
Output should be Self, except for wrapper types.
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self>
Source§impl PartialEq for SimpleSoundSpec
impl PartialEq for SimpleSoundSpec
Source§impl Serialize for SimpleSoundSpec
impl Serialize for SimpleSoundSpec
type Input = SimpleSoundSpec
fn serialize<S: Serializer>(value: &Self::Input, ser: &mut S) -> SerializeResult
impl StructuralPartialEq for SimpleSoundSpec
Auto Trait Implementations§
impl Freeze for SimpleSoundSpec
impl RefUnwindSafe for SimpleSoundSpec
impl Send for SimpleSoundSpec
impl Sync for SimpleSoundSpec
impl Unpin for SimpleSoundSpec
impl UnwindSafe for SimpleSoundSpec
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