pub struct PathPattern {
pub id: &'static str,
pub name: &'static str,
pub severity: Severity,
pub start_label: Option<&'static str>,
pub steps: &'static [PathStep],
}Expand description
A path pattern: a directed path whose edges and (optionally) node labels match a template.
Fields§
§id: &'static str§name: &'static str§severity: Severity§start_label: Option<&'static str>The label the starting node must have, or None for any.
steps: &'static [PathStep]Trait Implementations§
Source§impl Clone for PathPattern
impl Clone for PathPattern
Source§fn clone(&self) -> PathPattern
fn clone(&self) -> PathPattern
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 PathPattern
impl RefUnwindSafe for PathPattern
impl Send for PathPattern
impl Sync for PathPattern
impl Unpin for PathPattern
impl UnsafeUnpin for PathPattern
impl UnwindSafe for PathPattern
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