Enum Editor Message
pub enum EditorMessage {
Ready,
Begin {
index: usize,
},
Set {
index: usize,
value: f32,
},
End {
index: usize,
},
Commit {
index: usize,
value: f32,
},
Product(Value),
}Expand description
A validated editor message. Parameters are identified by declaration index.
Variants§
Ready
Begin
Set
The value is already clamped and snapped to the parameter’s range.
End
Commit
Product(Value)
Trait Implementations§
§impl Clone for EditorMessage
impl Clone for EditorMessage
§fn clone(&self) -> EditorMessage
fn clone(&self) -> EditorMessage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for EditorMessage
impl Debug for EditorMessage
§impl PartialEq for EditorMessage
impl PartialEq for EditorMessage
impl StructuralPartialEq for EditorMessage
Auto Trait Implementations§
impl Freeze for EditorMessage
impl RefUnwindSafe for EditorMessage
impl Send for EditorMessage
impl Sync for EditorMessage
impl Unpin for EditorMessage
impl UnsafeUnpin for EditorMessage
impl UnwindSafe for EditorMessage
Blanket Implementations§
impl<T> AutoreleaseSafe for T
§impl<T> BorrowMut<T> for T
impl<T> BorrowMut<T> for T
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more