pub struct GraphBuilder { /* private fields */ }Expand description
Builder for a graph.
Implementations§
Source§impl GraphBuilder
impl GraphBuilder
Sourcepub fn vertex<I: ExecutableItem>(&mut self, item: I) -> Vertex
pub fn vertex<I: ExecutableItem>(&mut self, item: I) -> Vertex
Add a vertex; returns its handle.
Auto Trait Implementations§
impl Freeze for GraphBuilder
impl !RefUnwindSafe for GraphBuilder
impl Send for GraphBuilder
impl !Sync for GraphBuilder
impl Unpin for GraphBuilder
impl UnsafeUnpin for GraphBuilder
impl !UnwindSafe for GraphBuilder
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