pub struct Node {
pub id: NodeId,
pub label: String,
pub shape: NodeShape,
pub subgraph: Option<String>,
pub fields: Vec<TableField>,
pub width: usize,
pub height: usize,
pub x: usize,
pub y: usize,
pub style_class: Option<String>,
}Expand description
A node in the flowchart
Fields§
§id: NodeId§label: String§shape: NodeShape§subgraph: Option<String>§fields: Vec<TableField>§width: usize§height: usize§x: usize§y: usize§style_class: Option<String>Style class name applied to this node
Implementations§
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