pub struct ModuleCohesion { /* private fields */ }Expand description
How much of one partition’s outgoing traffic stays inside it.
Implementations§
Source§impl ModuleCohesion
impl ModuleCohesion
Sourcepub fn root(self) -> GraphNodeId
pub fn root(self) -> GraphNodeId
The partition root these counts describe.
Sourcepub fn internal_edges(self) -> u32
pub fn internal_edges(self) -> u32
How many selected edges leave a member for another member.
Sourcepub fn boundary_edges(self) -> u32
pub fn boundary_edges(self) -> u32
How many selected edges leave a member for another partition.
Trait Implementations§
Source§impl Clone for ModuleCohesion
impl Clone for ModuleCohesion
Source§fn clone(&self) -> ModuleCohesion
fn clone(&self) -> ModuleCohesion
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 moreimpl Copy for ModuleCohesion
Auto Trait Implementations§
impl Freeze for ModuleCohesion
impl RefUnwindSafe for ModuleCohesion
impl Send for ModuleCohesion
impl Sync for ModuleCohesion
impl Unpin for ModuleCohesion
impl UnsafeUnpin for ModuleCohesion
impl UnwindSafe for ModuleCohesion
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