pub struct MelodyUpdate {
pub events: Option<Vec<MelodyEvent>>,
pub melody_string: Option<String>,
pub lanes: Option<Vec<String>>,
pub loop_beats: Option<f64>,
pub params: HashMap<String, f32>,
}Fields§
§events: Option<Vec<MelodyEvent>>§melody_string: Option<String>§lanes: Option<Vec<String>>§loop_beats: Option<f64>§params: HashMap<String, f32>Trait Implementations§
Source§impl Debug for MelodyUpdate
impl Debug for MelodyUpdate
Source§impl<'de> Deserialize<'de> for MelodyUpdate
impl<'de> Deserialize<'de> for MelodyUpdate
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 MelodyUpdate
impl RefUnwindSafe for MelodyUpdate
impl Send for MelodyUpdate
impl Sync for MelodyUpdate
impl Unpin for MelodyUpdate
impl UnsafeUnpin for MelodyUpdate
impl UnwindSafe for MelodyUpdate
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