Trait im_pathtree::PathSegment

source ·
pub trait PathSegment:
    Eq
    + Hash
    + Debug {
    // Required method
    fn is_empty(&self) -> bool;
}
Expand description

Borrowed path segment.

Required Methods§

source

fn is_empty(&self) -> bool

Check if the segment is empty.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl PathSegment for str

source§

fn is_empty(&self) -> bool

source§

impl PathSegment for OsStr

source§

fn is_empty(&self) -> bool

Implementors§