pub struct PlantUmlDiagram {
pub components: Vec<String>,
pub dependencies: Vec<PlantUmlDependency>,
}Expand description
Immutable components and allowed directed dependencies parsed from PlantUML.
Fields§
§components: Vec<String>Declared and dependency-implied component names in first-seen order.
dependencies: Vec<PlantUmlDependency>Unique allowed dependencies in first-seen order.
Implementations§
Source§impl PlantUmlDiagram
impl PlantUmlDiagram
Sourcepub fn new<C, D>(components: C, dependencies: D) -> Result<Self, PlantUmlError>
pub fn new<C, D>(components: C, dependencies: D) -> Result<Self, PlantUmlError>
Creates a diagram, adding dependency endpoints to the component collection.
Trait Implementations§
Source§impl Clone for PlantUmlDiagram
impl Clone for PlantUmlDiagram
Source§fn clone(&self) -> PlantUmlDiagram
fn clone(&self) -> PlantUmlDiagram
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PlantUmlDiagram
impl Debug for PlantUmlDiagram
Source§impl PartialEq for PlantUmlDiagram
impl PartialEq for PlantUmlDiagram
impl Eq for PlantUmlDiagram
impl StructuralPartialEq for PlantUmlDiagram
Auto Trait Implementations§
impl Freeze for PlantUmlDiagram
impl RefUnwindSafe for PlantUmlDiagram
impl Send for PlantUmlDiagram
impl Sync for PlantUmlDiagram
impl Unpin for PlantUmlDiagram
impl UnwindSafe for PlantUmlDiagram
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.