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<'de> Deserialize<'de> for Namespace
impl<'de> Deserialize<'de> for Namespace
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for Namespace
impl Ord for Namespace
source§impl PartialOrd for Namespace
impl PartialOrd for Namespace
impl 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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)