pub struct CyclePattern {
pub id: &'static str,
pub name: &'static str,
pub severity: Severity,
pub edge_sequence: &'static [&'static str],
}Expand description
A cycle pattern: a directed cycle whose edge types match a sequence.
Fields§
§id: &'static str§name: &'static str§severity: Severity§edge_sequence: &'static [&'static str]Edge types that must appear in order along the cycle. The cycle length equals the length of this vector.
Trait Implementations§
Source§impl Clone for CyclePattern
impl Clone for CyclePattern
Source§fn clone(&self) -> CyclePattern
fn clone(&self) -> CyclePattern
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CyclePattern
impl RefUnwindSafe for CyclePattern
impl Send for CyclePattern
impl Sync for CyclePattern
impl Unpin for CyclePattern
impl UnsafeUnpin for CyclePattern
impl UnwindSafe for CyclePattern
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