pub struct LaidObject {
pub attr: Attr,
pub kind: String,
pub title: String,
pub highlighted: bool,
pub at: Option<[f64; 2]>,
pub shapes: Vec<Shape>,
pub intervals: Vec<LaidInterval>,
}Expand description
A group of shapes.
Fields§
§attr: AttrWhat it is about.
kind: Stringwell, trace, envelope, fill, label, vertex, crossing…
title: StringThe object’s title, as the package wrote it (the writer escapes it).
highlighted: boolPut forward on purpose (View::highlight).
at: Option<[f64; 2]>For a well: the head, in the window’s units - where it was projected.
shapes: Vec<Shape>What is drawn.
intervals: Vec<LaidInterval>For a well: one group per interval, with its unit.
Trait Implementations§
Source§impl Clone for LaidObject
impl Clone for LaidObject
Source§impl Debug for LaidObject
impl Debug for LaidObject
Source§impl PartialEq for LaidObject
impl PartialEq for LaidObject
impl StructuralPartialEq for LaidObject
Auto Trait Implementations§
impl Freeze for LaidObject
impl RefUnwindSafe for LaidObject
impl Send for LaidObject
impl Sync for LaidObject
impl Unpin for LaidObject
impl UnsafeUnpin for LaidObject
impl UnwindSafe for LaidObject
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