Struct dotavious::dot::SubGraphBuilder[][src]

pub struct SubGraphBuilder<'a> { /* fields omitted */ }

Implementations

impl<'a> SubGraphBuilder<'a>[src]

pub fn new() -> Self[src]

pub fn new_named<S: Into<String>>(id: S) -> Self[src]

pub fn add_graph_attributes(
    &mut self,
    graph_attributes: IndexMap<String, AttributeText<'a>>
) -> &mut Self
[src]

pub fn add_node_attributes(
    &mut self,
    node_attributes: IndexMap<String, AttributeText<'a>>
) -> &mut Self
[src]

pub fn add_edge_attributes(
    &mut self,
    edge_attributes: IndexMap<String, AttributeText<'a>>
) -> &mut Self
[src]

pub fn add_attribute(
    &mut self,
    attribute_type: AttributeType,
    key: String,
    value: AttributeText<'a>
) -> &mut Self
[src]

pub fn add_sub_graph(&mut self, sub_graph: SubGraph<'a>) -> &mut Self[src]

pub fn add_node(&mut self, node: Node<'a>) -> &mut Self[src]

pub fn add_edge(&mut self, edge: Edge<'a>) -> &mut Self[src]

pub fn build(&self) -> ValidationResult<SubGraph<'a>>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for SubGraphBuilder<'a>

impl<'a> Send for SubGraphBuilder<'a>

impl<'a> Sync for SubGraphBuilder<'a>

impl<'a> Unpin for SubGraphBuilder<'a>

impl<'a> UnwindSafe for SubGraphBuilder<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.