pub struct ArchitectureGraph { /* private fields */ }Implementations§
Source§impl ArchitectureGraph
impl ArchitectureGraph
pub fn context(&self) -> &AnalysisContext
pub fn packages(&self) -> impl Iterator<Item = &Package>
pub fn components(&self) -> impl Iterator<Item = &Component>
pub fn edges(&self) -> impl Iterator<Item = &DependencyEdge>
pub fn diagnostics(&self) -> &[AnalysisDiagnostic]
pub fn package(&self, id: &PackageId) -> Option<&Package>
pub fn component(&self, id: &ComponentId) -> Option<&Component>
pub fn outgoing( &self, id: &ComponentId, ) -> impl Iterator<Item = &DependencyEdge>
pub fn incoming( &self, id: &ComponentId, ) -> impl Iterator<Item = &DependencyEdge>
Trait Implementations§
Source§impl Clone for ArchitectureGraph
impl Clone for ArchitectureGraph
Source§fn clone(&self) -> ArchitectureGraph
fn clone(&self) -> ArchitectureGraph
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ArchitectureGraph
impl Debug for ArchitectureGraph
Source§impl Default for ArchitectureGraph
impl Default for ArchitectureGraph
Source§fn default() -> ArchitectureGraph
fn default() -> ArchitectureGraph
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ArchitectureGraph
impl<'de> Deserialize<'de> for ArchitectureGraph
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ArchitectureGraph
impl RefUnwindSafe for ArchitectureGraph
impl Send for ArchitectureGraph
impl Sync for ArchitectureGraph
impl Unpin for ArchitectureGraph
impl UnsafeUnpin for ArchitectureGraph
impl UnwindSafe for ArchitectureGraph
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