pub struct GraphNode {
pub id: String,
pub label: String,
pub shape: NodeShape,
pub fill: Option<String>,
pub stroke: Option<String>,
pub penwidth: Option<f64>,
pub semantic_id: Option<String>,
pub style: Option<String>,
pub height: Option<f64>,
pub width: Option<f64>,
pub attrs: Vec<(String, String)>,
}Expand description
A node in the graph.
Fields§
§id: String§label: String§shape: NodeShape§fill: Option<String>§stroke: Option<String>§penwidth: Option<f64>§semantic_id: Option<String>§style: Option<String>§height: Option<f64>§width: Option<f64>§attrs: Vec<(String, String)>Trait Implementations§
Auto Trait Implementations§
impl Freeze for GraphNode
impl RefUnwindSafe for GraphNode
impl Send for GraphNode
impl Sync for GraphNode
impl Unpin for GraphNode
impl UnsafeUnpin for GraphNode
impl UnwindSafe for GraphNode
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