pub struct NodeId { /* private fields */ }Expand description
A NodeId wraps a string storing the Id of a Node
It’s designed for use with the Scope::edge function,
and for creating PortId using NodeId::port.
Implementations§
Source§impl NodeId
impl NodeId
Sourcepub fn port(&self, port_id: &str) -> PortId
pub fn port(&self, port_id: &str) -> PortId
Creates a PortId for refering to a port. These are specific sub parts of
a Shape::Record
or Shape::Mrecord
(for more information see “Record-based Nodes”
on the Graphviz documentation).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NodeId
impl RefUnwindSafe for NodeId
impl Send for NodeId
impl Sync for NodeId
impl Unpin for NodeId
impl UnwindSafe for NodeId
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