pub struct DepNode {
pub label: String,
pub sublabel: Option<String>,
pub color: Color32,
}Expand description
One node: a label, an optional sub-label (a sha, a version…), and a border colour (the consumer’s status policy).
Fields§
§label: String§sublabel: Option<String>§color: Color32Trait Implementations§
Auto Trait Implementations§
impl Freeze for DepNode
impl RefUnwindSafe for DepNode
impl Send for DepNode
impl Sync for DepNode
impl Unpin for DepNode
impl UnsafeUnpin for DepNode
impl UnwindSafe for DepNode
Blanket Implementations§
impl<T> Allocation for T
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