pub struct Namespace(_);
Expand description
A validated prefix for references to act as a namespace.
Implementations§
source§impl Namespace
impl Namespace
sourcepub fn into_bstring(self) -> BString
pub fn into_bstring(self) -> BString
Dissolve ourselves into the interior representation
sourcepub fn into_namespaced_prefix(self, prefix: impl AsRef<Path>) -> PathBuf
pub fn into_namespaced_prefix(self, prefix: impl AsRef<Path>) -> PathBuf
Append the given prefix
to this namespace so it becomes usable for prefixed iteration.
Trait Implementations§
source§impl Ord for Namespace
impl Ord for Namespace
source§impl PartialEq<Namespace> for Namespace
impl PartialEq<Namespace> for Namespace
source§impl PartialOrd<Namespace> for Namespace
impl PartialOrd<Namespace> for Namespace
1.0.0 · source§fn 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