pub struct MethodConnectivity {
pub methods: Vec<String>,
pub edges: Vec<(String, String)>,
}Expand description
Which methods within a class share field accesses.
Stored as a JSON-encoded string in the methodConnectivity GraphML attribute.
The edges field lists pairs of method names that touch at least one common field.
Fields§
§methods: Vec<String>§edges: Vec<(String, String)>Method-name pairs that share field access (used to build the bipartite graph for LCOM4).
Trait Implementations§
Source§impl Clone for MethodConnectivity
impl Clone for MethodConnectivity
Source§fn clone(&self) -> MethodConnectivity
fn clone(&self) -> MethodConnectivity
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 MethodConnectivity
impl Debug for MethodConnectivity
Source§impl Default for MethodConnectivity
impl Default for MethodConnectivity
Source§fn default() -> MethodConnectivity
fn default() -> MethodConnectivity
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MethodConnectivity
impl<'de> Deserialize<'de> for MethodConnectivity
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 MethodConnectivity
impl RefUnwindSafe for MethodConnectivity
impl Send for MethodConnectivity
impl Sync for MethodConnectivity
impl Unpin for MethodConnectivity
impl UnsafeUnpin for MethodConnectivity
impl UnwindSafe for MethodConnectivity
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