pub enum MeasureGrab {
Endpoint(bool),
Move,
}Expand description
Which end of a measure a drag has hold of.
Variants§
Endpoint(bool)
An endpoint: true is a, false is b.
Move
The line itself: drag moves the whole ruler.
Trait Implementations§
Source§impl Clone for MeasureGrab
impl Clone for MeasureGrab
Source§fn clone(&self) -> MeasureGrab
fn clone(&self) -> MeasureGrab
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MeasureGrab
Source§impl Debug for MeasureGrab
impl Debug for MeasureGrab
impl Eq for MeasureGrab
Source§impl PartialEq for MeasureGrab
impl PartialEq for MeasureGrab
impl StructuralPartialEq for MeasureGrab
Auto Trait Implementations§
impl Freeze for MeasureGrab
impl RefUnwindSafe for MeasureGrab
impl Send for MeasureGrab
impl Sync for MeasureGrab
impl Unpin for MeasureGrab
impl UnsafeUnpin for MeasureGrab
impl UnwindSafe for MeasureGrab
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.