Skip to main content

EdgeKind

Trait EdgeKind 

Source
pub trait EdgeKind: Copy {
    // Required methods
    fn is_method_call(&self) -> bool;
    fn is_field_ref(&self) -> bool;
    fn is_inheritance(&self) -> bool;
}
Expand description

Minimum interface the metric algorithms need from an edge weight.

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§