pub struct Graph<'a> { /* private fields */ }Implementations§
Source§impl<'a> Graph<'a>
impl<'a> Graph<'a>
pub fn style<S: Into<Cow<'a, str>>>(&mut self, style: S)
pub fn label<S: Into<Cow<'a, str>>>(&mut self, label: S)
pub fn penwidth<S: Into<Cow<'a, str>>>(&mut self, penwidth: S)
pub fn new(ty: GraphType) -> Self
pub fn new_with_id<S: Into<Cow<'a, str>>>(ty: GraphType, id: S) -> Self
pub fn node<S: Into<Cow<'a, str>>>(&mut self, id: S) -> &mut Node<'a>
pub fn subgraph<S: Into<Cow<'a, str>>>(&mut self, id: S) -> &mut Graph<'a>
pub fn edge<L: Into<Cow<'a, str>>, R: Into<Cow<'a, str>>>( &mut self, l: L, r: R, ) -> &mut Edge<'a>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Graph<'a>
impl<'a> RefUnwindSafe for Graph<'a>
impl<'a> Send for Graph<'a>
impl<'a> Sync for Graph<'a>
impl<'a> Unpin for Graph<'a>
impl<'a> UnsafeUnpin for Graph<'a>
impl<'a> UnwindSafe for Graph<'a>
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