pub enum Role {
Error,
Warn,
Info,
Path,
Verb,
Obligation,
Heading,
}Expand description
One semantic role HW-DR-0045’s
palette names.
Verb carries two rows of the decision’s table at once — “a verb name or a
fix: label” is one role, green and bold, so a second variant for the
second noun would be a distinction the palette itself does not draw.
Heading and structural or already-stated text are the two rows with no
hue at all — a heading is bold in the default color and the other is dim in
it — so the second reaches no variant here: dim is a sibling function
rather than a seventh role.
Variants§
Error
Warn
Info
Path
A file path or a flag name.
Verb
A verb name or a fix: label.
Obligation
An obligation or adoption-task identifier (OB-…, AD-…).
Heading
A section heading.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Role
impl RefUnwindSafe for Role
impl Send for Role
impl Sync for Role
impl Unpin for Role
impl UnsafeUnpin for Role
impl UnwindSafe for Role
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