pub struct Namespace(/* private fields */);
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: &Path) -> PathBuf
pub fn into_namespaced_prefix(self, prefix: &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 for Namespace
impl PartialEq for Namespace
source§impl PartialOrd for Namespace
impl PartialOrd 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 moreimpl Eq for Namespace
impl StructuralPartialEq for Namespace
Auto Trait Implementations§
impl Freeze for Namespace
impl RefUnwindSafe for Namespace
impl Send for Namespace
impl Sync for Namespace
impl Unpin for Namespace
impl UnwindSafe for Namespace
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)