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