pub struct FullHitSound<'a> {
pub hit_sound: HitSound,
pub custom_sample_index: i32,
pub volume: i32,
pub sample_file: Cow<'a, str>,
}
Fields§
§hit_sound: HitSound
§custom_sample_index: i32
§volume: i32
§sample_file: Cow<'a, str>
Trait Implementations§
Source§impl<'a> Clone for FullHitSound<'a>
impl<'a> Clone for FullHitSound<'a>
Source§fn clone(&self) -> FullHitSound<'a>
fn clone(&self) -> FullHitSound<'a>
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<'a> Debug for FullHitSound<'a>
impl<'a> Debug for FullHitSound<'a>
Source§impl<'a> Default for FullHitSound<'a>
impl<'a> Default for FullHitSound<'a>
Source§fn default() -> FullHitSound<'a>
fn default() -> FullHitSound<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for FullHitSound<'a>
impl<'a> RefUnwindSafe for FullHitSound<'a>
impl<'a> Send for FullHitSound<'a>
impl<'a> Sync for FullHitSound<'a>
impl<'a> Unpin for FullHitSound<'a>
impl<'a> UnwindSafe for FullHitSound<'a>
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