pub struct ButtonSound {
pub sound_id: u16,
pub sound_info: SoundInfo,
}
Fields§
§sound_id: u16
§sound_info: SoundInfo
Trait Implementations§
Source§impl Clone for ButtonSound
impl Clone for ButtonSound
Source§fn clone(&self) -> ButtonSound
fn clone(&self) -> ButtonSound
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 Debug for ButtonSound
impl Debug for ButtonSound
Source§impl<'de> Deserialize<'de> for ButtonSound
impl<'de> Deserialize<'de> for ButtonSound
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for ButtonSound
impl Hash for ButtonSound
Source§impl Ord for ButtonSound
impl Ord for ButtonSound
Source§fn cmp(&self, other: &ButtonSound) -> Ordering
fn cmp(&self, other: &ButtonSound) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ButtonSound
impl PartialEq for ButtonSound
Source§impl PartialOrd for ButtonSound
impl PartialOrd for ButtonSound
Source§impl Serialize for ButtonSound
impl Serialize for ButtonSound
impl Eq for ButtonSound
impl StructuralPartialEq for ButtonSound
Auto Trait Implementations§
impl Freeze for ButtonSound
impl RefUnwindSafe for ButtonSound
impl Send for ButtonSound
impl Sync for ButtonSound
impl Unpin for ButtonSound
impl UnwindSafe for ButtonSound
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