pub struct Node {
pub id: NodeId,
pub label: String,
pub status: NodeStatus,
pub group: Option<String>,
pub foldable: Option<String>,
}Fields§
§id: NodeId§label: String§status: NodeStatus§group: Option<String>Set on a member node (a CI matrix leg): the key of the foldable group it
belongs to. Members hang off their group’s root and are hidden when the
group is collapsed. None for ordinary nodes and group roots.
foldable: Option<String>Set on the one root node of a foldable group: the group key. Only a root node is foldable (it takes the collapse shortcut); external edges connect to the root, and its members branch off it.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Node
impl Freeze for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnsafeUnpin for Node
impl UnwindSafe for Node
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more