pub struct DefineButtonSound {
pub button_id: u16,
pub over_up_to_idle: Option<ButtonSound>,
pub idle_to_over_up: Option<ButtonSound>,
pub over_up_to_over_down: Option<ButtonSound>,
pub over_down_to_over_up: Option<ButtonSound>,
}
Fields§
§over_up_to_idle: Option<ButtonSound>
§idle_to_over_up: Option<ButtonSound>
§over_up_to_over_down: Option<ButtonSound>
§over_down_to_over_up: Option<ButtonSound>
Trait Implementations§
Source§impl Clone for DefineButtonSound
impl Clone for DefineButtonSound
Source§fn clone(&self) -> DefineButtonSound
fn clone(&self) -> DefineButtonSound
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 DefineButtonSound
impl Debug for DefineButtonSound
Source§impl<'de> Deserialize<'de> for DefineButtonSound
impl<'de> Deserialize<'de> for DefineButtonSound
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 DefineButtonSound
impl Hash for DefineButtonSound
Source§impl Ord for DefineButtonSound
impl Ord for DefineButtonSound
Source§fn cmp(&self, other: &DefineButtonSound) -> Ordering
fn cmp(&self, other: &DefineButtonSound) -> 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 DefineButtonSound
impl PartialEq for DefineButtonSound
Source§impl PartialOrd for DefineButtonSound
impl PartialOrd for DefineButtonSound
Source§impl Serialize for DefineButtonSound
impl Serialize for DefineButtonSound
impl Eq for DefineButtonSound
impl StructuralPartialEq for DefineButtonSound
Auto Trait Implementations§
impl Freeze for DefineButtonSound
impl RefUnwindSafe for DefineButtonSound
impl Send for DefineButtonSound
impl Sync for DefineButtonSound
impl Unpin for DefineButtonSound
impl UnwindSafe for DefineButtonSound
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