pub struct SoundRef {
pub stage: &'static str,
pub path: String,
pub sound: String,
}Expand description
One vanilla sound-event reference (DSL v0.6/v0.4): its stage-doc path and the
referenced id, for registry validation (DW0326).
Fields§
§stage: &'static strThe stage document the reference was authored in (quests / dialogue).
path: StringJSON-pointer-ish path within that stage doc.
sound: StringThe referenced sound-event id (minecraft: prefix optional).
Trait Implementations§
impl Eq for SoundRef
impl StructuralPartialEq for SoundRef
Auto Trait Implementations§
impl Freeze for SoundRef
impl RefUnwindSafe for SoundRef
impl Send for SoundRef
impl Sync for SoundRef
impl Unpin for SoundRef
impl UnsafeUnpin for SoundRef
impl UnwindSafe for SoundRef
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