pub enum Attr {
Key(String),
Section(String),
FillOf(String),
LabelOf(String),
Decor(String),
UnitEntry(String, String, Vec<String>),
Marker {
name: String,
key: Option<String>,
},
}Expand description
What a group is about - one attribute each, so that data-key stays the
one-per-object handle the front end reads.
Variants§
Key(String)
An object: its page key (ObjectId::key).
Section(String)
A section of the plan: long, cross-2.
FillOf(String)
The fill of an object’s colour.
LabelOf(String)
The label of an object.
Decor(String)
A decoration (a mark), named.
UnitEntry(String, String, Vec<String>)
A strata legend entry: the decoration’s name, the full uri of the unit it shows, and the packages whose wells show it in this colour - what the front end opens the unit’s colour by, and in which packages.
Marker
A marker (View::markers): its name and, on the drawing, the key of the
object it marks - data-marker and data-key. In the legend, no key.
Trait Implementations§
impl StructuralPartialEq for Attr
Auto Trait Implementations§
impl Freeze for Attr
impl RefUnwindSafe for Attr
impl Send for Attr
impl Sync for Attr
impl Unpin for Attr
impl UnsafeUnpin for Attr
impl UnwindSafe for Attr
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