Struct ittech::Pattern [−][src]
Pattern
Each pattern is represented by a table, consisting of rows (time) and columns (simultaneously playing channels). Patterns contain note data for triggering samples (instruments), but they can also contain effect commands that change global, local or channel-local playback parameters.
Patterns are stored as a list of Row
s.
This API will change in the future because it doesn't impose the invariant that
active_channels
and rows
stay in sync.
Fields
active_channels: ActiveChannels
Active channels
Channel is active if it contains any command in any row of the pattern. Currently skipping rows with effects is not accounted for.
rows: Vec<Row>
Pattern rows
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Pattern
[src]
impl Send for Pattern
[src]
impl Sync for Pattern
[src]
impl Unpin for Pattern
[src]
impl UnwindSafe for Pattern
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,