pub struct PlaySoundCommand {
pub name: Option<String>,
pub volume: Volume,
}Expand description
A command to play a sound
Fields§
§name: Option<String>§volume: VolumeTrait Implementations§
Source§impl Clone for PlaySoundCommand
impl Clone for PlaySoundCommand
Source§fn clone(&self) -> PlaySoundCommand
fn clone(&self) -> PlaySoundCommand
Returns a duplicate 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 PlaySoundCommand
impl Debug for PlaySoundCommand
Source§impl Default for PlaySoundCommand
impl Default for PlaySoundCommand
Source§fn default() -> PlaySoundCommand
fn default() -> PlaySoundCommand
Returns the “default value” for a type. Read more
Source§impl Hash for PlaySoundCommand
impl Hash for PlaySoundCommand
Source§impl PartialEq for PlaySoundCommand
impl PartialEq for PlaySoundCommand
impl Eq for PlaySoundCommand
impl StructuralPartialEq for PlaySoundCommand
Auto Trait Implementations§
impl Freeze for PlaySoundCommand
impl RefUnwindSafe for PlaySoundCommand
impl Send for PlaySoundCommand
impl Sync for PlaySoundCommand
impl Unpin for PlaySoundCommand
impl UnwindSafe for PlaySoundCommand
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.