pub enum ValueMark {
Changed,
Held(String),
Moved(String),
}Expand description
A value’s marks, beside the control showing it: it is not at its default, another party holds it, another party just moved it. Each has its shape and its meaning (in the current language), so none rests on colour alone:
Changed: a dot in theaccenttone, “Changed from its default”; madeinteractiveit is the value’s reset button;Held: a square in thewarningtone, “Held by …” (a binding, an automation, another module owns the value);Moved: a diamond in theaccenttone, “Moved by …” (a gesture elsewhere, a script, a link changed it).
Variants§
Implementations§
Trait Implementations§
impl Eq for ValueMark
impl StructuralPartialEq for ValueMark
Auto Trait Implementations§
impl Freeze for ValueMark
impl RefUnwindSafe for ValueMark
impl Send for ValueMark
impl Sync for ValueMark
impl Unpin for ValueMark
impl UnsafeUnpin for ValueMark
impl UnwindSafe for ValueMark
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more