pub struct Measure {
pub line: Line,
pub label: String,
pub monitor: usize,
}Expand description
A two-point measurement laid on the frozen image.
Deliberately not a Selection: it has no interior, so it produces
no crop, contributes nothing to a cutout, and has no click point for
assert or emit to answer about. Forcing it through the selection
list would make every one of those grow a special case for a thing
they cannot say anything useful about.
Fields§
§line: Line§label: String§monitor: usizeIndex into the session’s monitor list. A measure lives within one monitor’s frame, like every shape.
Implementations§
Trait Implementations§
impl Eq for Measure
impl StructuralPartialEq for Measure
Auto Trait Implementations§
impl Freeze for Measure
impl RefUnwindSafe for Measure
impl Send for Measure
impl Sync for Measure
impl Unpin for Measure
impl UnsafeUnpin for Measure
impl UnwindSafe for Measure
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.