pub struct EdgeKindSpec {
pub flow: bool,
pub label: Option<String>,
pub description: Option<String>,
}Expand description
Semantics of one edge kind. Keyed by the edge kind in
Level::edge_kinds. flow is the single source of truth for “is this
information flow”: counted in coupling/cycles AND drawn when true;
structural (e.g. contains) and excluded/hidden when false.
Fields§
§flow: bool§label: Option<String>§description: Option<String>Long human description (used as a UI tooltip).
Trait Implementations§
Source§impl Clone for EdgeKindSpec
impl Clone for EdgeKindSpec
Source§fn clone(&self) -> EdgeKindSpec
fn clone(&self) -> EdgeKindSpec
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 EdgeKindSpec
impl Debug for EdgeKindSpec
Source§impl<'de> Deserialize<'de> for EdgeKindSpec
impl<'de> Deserialize<'de> for EdgeKindSpec
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 EdgeKindSpec
impl RefUnwindSafe for EdgeKindSpec
impl Send for EdgeKindSpec
impl Sync for EdgeKindSpec
impl Unpin for EdgeKindSpec
impl UnsafeUnpin for EdgeKindSpec
impl UnwindSafe for EdgeKindSpec
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