pub struct SoundOp {
pub note: Note,
pub duration: Duration,
}Expand description
A sound operation.
Fields§
§note: NoteSound note.
duration: DurationDuration to play sound.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SoundOp
impl<'de> Deserialize<'de> for SoundOp
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
Auto Trait Implementations§
impl Freeze for SoundOp
impl RefUnwindSafe for SoundOp
impl Send for SoundOp
impl Sync for SoundOp
impl Unpin for SoundOp
impl UnwindSafe for SoundOp
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