pub struct SubDir(/* private fields */);
Expand description
A subdirectory of a directory capability.
Implementations§
Trait Implementations§
Source§impl AsMut<RelativePath> for SubDir
impl AsMut<RelativePath> for SubDir
Source§fn as_mut(&mut self) -> &mut RelativePath
fn as_mut(&mut self) -> &mut RelativePath
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<RelativePath> for SubDir
impl AsRef<RelativePath> for SubDir
Source§fn as_ref(&self) -> &RelativePath
fn as_ref(&self) -> &RelativePath
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl From<RelativePath> for SubDir
impl From<RelativePath> for SubDir
Source§fn from(value: RelativePath) -> Self
fn from(value: RelativePath) -> Self
Converts to this type from the input type.
Source§impl Into<RelativePath> for SubDir
impl Into<RelativePath> for SubDir
Source§fn into(self) -> RelativePath
fn into(self) -> RelativePath
Converts this type into the (usually inferred) input type.
Source§impl Ord for SubDir
impl Ord for SubDir
Source§impl PartialOrd for SubDir
impl PartialOrd for SubDir
impl Eq for SubDir
impl StructuralPartialEq for SubDir
Auto Trait Implementations§
impl Freeze for SubDir
impl RefUnwindSafe for SubDir
impl Send for SubDir
impl Sync for SubDir
impl Unpin for SubDir
impl UnwindSafe for SubDir
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§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more