pub enum AutomationState {
Off,
Play,
Write,
Touch,
Latch,
}Expand description
Automation state for a parameter lane (Ardour/Pro Tools style)
Variants§
Implementations§
Source§impl AutomationState
impl AutomationState
pub fn reads_automation(&self) -> bool
pub fn can_record(&self) -> bool
pub fn starts_on_touch(&self) -> bool
pub fn stops_on_release(&self) -> bool
pub fn all() -> &'static [AutomationState]
pub fn display_name(&self) -> &'static str
pub fn abbreviation(&self) -> &'static str
Trait Implementations§
Source§impl Clone for AutomationState
impl Clone for AutomationState
Source§fn clone(&self) -> AutomationState
fn clone(&self) -> AutomationState
Returns a duplicate 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 AutomationState
impl Debug for AutomationState
Source§impl Default for AutomationState
impl Default for AutomationState
Source§fn default() -> AutomationState
fn default() -> AutomationState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AutomationState
impl<'de> Deserialize<'de> for AutomationState
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 Display for AutomationState
impl Display for AutomationState
Source§impl Hash for AutomationState
impl Hash for AutomationState
Source§impl PartialEq for AutomationState
impl PartialEq for AutomationState
Source§impl Serialize for AutomationState
impl Serialize for AutomationState
impl Copy for AutomationState
impl Eq for AutomationState
impl StructuralPartialEq for AutomationState
Auto Trait Implementations§
impl Freeze for AutomationState
impl RefUnwindSafe for AutomationState
impl Send for AutomationState
impl Sync for AutomationState
impl Unpin for AutomationState
impl UnsafeUnpin for AutomationState
impl UnwindSafe for AutomationState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.