pub struct NamespaceInstability {
pub namespace: String,
pub ca: u32,
pub ce: u32,
pub instability: Option<f64>,
}Expand description
Coupling counts and instability for a single namespace.
Fields§
§namespace: String§ca: u32Afferent coupling — inter-namespace edges pointing INTO this namespace.
ce: u32Efferent coupling — inter-namespace edges leaving this namespace.
instability: Option<f64>None when Ca + Ce == 0 (isolated namespace — instability is undefined).
Trait Implementations§
Source§impl Clone for NamespaceInstability
impl Clone for NamespaceInstability
Source§fn clone(&self) -> NamespaceInstability
fn clone(&self) -> NamespaceInstability
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 NamespaceInstability
impl Debug for NamespaceInstability
Source§impl<'de> Deserialize<'de> for NamespaceInstability
impl<'de> Deserialize<'de> for NamespaceInstability
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 NamespaceInstability
impl RefUnwindSafe for NamespaceInstability
impl Send for NamespaceInstability
impl Sync for NamespaceInstability
impl Unpin for NamespaceInstability
impl UnsafeUnpin for NamespaceInstability
impl UnwindSafe for NamespaceInstability
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