pub struct Node {
pub id: NodeId,
pub label: String,
pub shape: NodeShape,
pub subgraph: Option<String>,
pub width: usize,
pub height: usize,
pub x: usize,
pub y: usize,
}Expand description
A node in the flowchart
Fields§
§id: NodeId§label: String§shape: NodeShape§subgraph: Option<String>§width: usize§height: usize§x: usize§y: usizeImplementations§
Trait Implementations§
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