#[repr(u32)]pub enum EventFlags {
IsLive = 1,
DontRecord = 2,
}Variants§
IsLive = 1
Indicate a live user event, for example a user turning a physical knob or playing a physical key.
DontRecord = 2
Indicate that the event should not be recorded. For example this is useful when a parameter changes because of a MIDI CC, because if the host records both the MIDI CC automation and the parameter automation there will be a conflict.
Implementations§
Trait Implementations§
Source§impl Clone for EventFlags
impl Clone for EventFlags
Source§fn clone(&self) -> EventFlags
fn clone(&self) -> EventFlags
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 EventFlags
impl Debug for EventFlags
Source§impl From<EventFlags> for u32
impl From<EventFlags> for u32
Source§fn from(value: EventFlags) -> Self
fn from(value: EventFlags) -> Self
Converts to this type from the input type.
Source§impl PartialEq for EventFlags
impl PartialEq for EventFlags
impl Copy for EventFlags
impl Eq for EventFlags
impl StructuralPartialEq for EventFlags
Auto Trait Implementations§
impl Freeze for EventFlags
impl RefUnwindSafe for EventFlags
impl Send for EventFlags
impl Sync for EventFlags
impl Unpin for EventFlags
impl UnwindSafe for EventFlags
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