Type Alias cosmic_space::selector::Hop

source ·
pub type Hop = HopDef<PointSegSelector, KindSelector>;

Aliased Type§

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