pub struct SessionLane {
pub note: u8,
pub muted: bool,
pub soloed: bool,
pub steps: Vec<SessionStep>,
}Expand description
One lane on disk.
Fields§
§note: u8The pinned drum voice, or 255 when the pitch comes from the step.
muted: bool§soloed: bool§steps: Vec<SessionStep>Only the steps that are on.
Trait Implementations§
Source§impl Clone for SessionLane
impl Clone for SessionLane
Source§fn clone(&self) -> SessionLane
fn clone(&self) -> SessionLane
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SessionLane
impl Debug for SessionLane
Source§impl<'de> Deserialize<'de> for SessionLane
impl<'de> Deserialize<'de> for SessionLane
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 PartialEq for SessionLane
impl PartialEq for SessionLane
Source§impl Serialize for SessionLane
impl Serialize for SessionLane
impl StructuralPartialEq for SessionLane
Auto Trait Implementations§
impl Freeze for SessionLane
impl RefUnwindSafe for SessionLane
impl Send for SessionLane
impl Sync for SessionLane
impl Unpin for SessionLane
impl UnsafeUnpin for SessionLane
impl UnwindSafe for SessionLane
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