Struct ra_ap_paths::RelPath
source · [−]#[repr(transparent)]pub struct RelPath(_);
Expand description
Wrapper around a relative Path
.
Implementations
sourceimpl RelPath
impl RelPath
sourcepub fn new_unchecked(path: &Path) -> &RelPath
pub fn new_unchecked(path: &Path) -> &RelPath
Creates a new RelPath
from path
, without checking if it is relative.
Trait Implementations
sourceimpl Ord for RelPath
impl Ord for RelPath
sourceimpl PartialOrd<RelPath> for RelPath
impl PartialOrd<RelPath> for RelPath
sourcefn partial_cmp(&self, other: &RelPath) -> Option<Ordering>
fn partial_cmp(&self, other: &RelPath) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more