pub struct Node {
pub color: Color,
pub self_connected: bool,
pub edges: Vec<Constraint>,
}Expand description
Stores a description of a node.
Fields§
§color: ColorThe color of the node.
self_connected: boolWhether the node can be self-connected.
edges: Vec<Constraint>The edges constraints of the node.
Trait Implementations§
impl Eq for Node
impl StructuralPartialEq for Node
Auto Trait Implementations§
impl Freeze for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin 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