Struct dotavious::dot::SubGraphBuilder [−][src]
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]
&mut self,
graph_attributes: IndexMap<String, AttributeText<'a>>
) -> &mut Self
pub fn add_node_attributes(
&mut self,
node_attributes: IndexMap<String, AttributeText<'a>>
) -> &mut Self
[src]
&mut self,
node_attributes: IndexMap<String, AttributeText<'a>>
) -> &mut Self
pub fn add_edge_attributes(
&mut self,
edge_attributes: IndexMap<String, AttributeText<'a>>
) -> &mut Self
[src]
&mut self,
edge_attributes: IndexMap<String, AttributeText<'a>>
) -> &mut Self
pub fn add_attribute(
&mut self,
attribute_type: AttributeType,
key: String,
value: AttributeText<'a>
) -> &mut Self
[src]
&mut self,
attribute_type: AttributeType,
key: String,
value: AttributeText<'a>
) -> &mut Self
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,