Enum std::fs::PathSegmentKind
Type of the path segment
Variants
-
Root
Root path segment (e.g.
/
on Unix) -
Normal
Normal path segment (e.g. a directory or file name)
-
CurDir
Path segment representing current directory (".")
-
ParentDir
Path segment representing parent directory ("..")
Methods
impl PathSegmentKind { ... }
-
fn equals(self: &PathSegmentKind, other: &PathSegmentKind) -> bool
-
fn fmt<F>(self: &PathSegmentKind, f: &mut F) -> Result
F: Formatter<F>
Mixins
impl PathSegmentKind { ... }
-
mixin Equatable<PathSegmentKind>
-
Returns
false
if arguments are equal,true
otherwise