Type Alias Hop

Source
pub type Hop = HopDef<PointSegSelector, KindSelector>;

Aliased Type§

pub struct Hop {
    pub inclusive: bool,
    pub segment_selector: PointSegSelector,
    pub kind_selector: KindSelectorDef<Pattern<BaseKind>, Pattern<Option<CamelCase>>, SpecificSelectorDef<Pattern<Domain>, Pattern<Domain>, Pattern<SkewerCase>, Pattern<SkewerCase>, VersionReq>>,
}

Fields§

§inclusive: bool§segment_selector: PointSegSelector§kind_selector: KindSelectorDef<Pattern<BaseKind>, Pattern<Option<CamelCase>>, SpecificSelectorDef<Pattern<Domain>, Pattern<Domain>, Pattern<SkewerCase>, Pattern<SkewerCase>, VersionReq>>

Implementations§

Source§

impl Hop

Source

pub fn matches(&self, point_kind_segment: &PointKindSeg) -> bool

Trait Implementations§

Source§

impl ToString for Hop

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more