pub struct PlaySoundSpecification {
pub override_sound_type: SoundType,
pub path: SoundPath,
pub position: MapPosition,
pub volume_modifier: f64,
}Fields§
§override_sound_type: SoundType§path: SoundPath§position: MapPosition§volume_modifier: f64Trait Implementations§
Source§impl Clone for PlaySoundSpecification
impl Clone for PlaySoundSpecification
Source§fn clone(&self) -> PlaySoundSpecification
fn clone(&self) -> PlaySoundSpecification
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PlaySoundSpecification
Source§impl Debug for PlaySoundSpecification
impl Debug for PlaySoundSpecification
Source§impl Default for PlaySoundSpecification
impl Default for PlaySoundSpecification
Source§fn default() -> PlaySoundSpecification
fn default() -> PlaySoundSpecification
Returns the “default value” for a type. Read more
Source§impl PartialEq for PlaySoundSpecification
impl PartialEq for PlaySoundSpecification
impl StructuralPartialEq for PlaySoundSpecification
Auto Trait Implementations§
impl Freeze for PlaySoundSpecification
impl RefUnwindSafe for PlaySoundSpecification
impl Send for PlaySoundSpecification
impl Sync for PlaySoundSpecification
impl Unpin for PlaySoundSpecification
impl UnsafeUnpin for PlaySoundSpecification
impl UnwindSafe for PlaySoundSpecification
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