pub struct SoundEvent {
pub sound_name: Identifier,
pub fixed_range: PrefixedOptional<Float>,
}Fields§
§sound_name: Identifier§fixed_range: PrefixedOptional<Float>Implementations§
Source§impl SoundEvent
impl SoundEvent
pub fn new(sound_name: Identifier, fixed_range: PrefixedOptional<Float>) -> Self
Trait Implementations§
Source§impl Clone for SoundEvent
impl Clone for SoundEvent
Source§fn clone(&self) -> SoundEvent
fn clone(&self) -> SoundEvent
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 SoundEvent
impl Debug for SoundEvent
Source§impl Field for SoundEvent
impl Field for SoundEvent
Auto Trait Implementations§
impl Freeze for SoundEvent
impl RefUnwindSafe for SoundEvent
impl Send for SoundEvent
impl Sync for SoundEvent
impl Unpin for SoundEvent
impl UnwindSafe for SoundEvent
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