pub struct GitSoundRef {
pub sound: Option<String>,
}Expand description
A single sound reference within a sound object.
§Examples
let sound_ref = nwnrs_git::GitSoundRef::default();
assert!(sound_ref.sound.is_none());Fields§
§sound: Option<String>Referenced sound resource name.
Trait Implementations§
Source§impl Clone for GitSoundRef
impl Clone for GitSoundRef
Source§fn clone(&self) -> GitSoundRef
fn clone(&self) -> GitSoundRef
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 GitSoundRef
impl Debug for GitSoundRef
Source§impl Default for GitSoundRef
impl Default for GitSoundRef
Source§fn default() -> GitSoundRef
fn default() -> GitSoundRef
Returns the “default value” for a type. Read more
Source§impl PartialEq for GitSoundRef
impl PartialEq for GitSoundRef
impl Eq for GitSoundRef
impl StructuralPartialEq for GitSoundRef
Auto Trait Implementations§
impl Freeze for GitSoundRef
impl RefUnwindSafe for GitSoundRef
impl Send for GitSoundRef
impl Sync for GitSoundRef
impl Unpin for GitSoundRef
impl UnsafeUnpin for GitSoundRef
impl UnwindSafe for GitSoundRef
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