pub struct DirectoryContentPath(/* private fields */);Implementations§
Source§impl DirectoryContentPath
 
impl DirectoryContentPath
pub fn file_name(&self) -> Option<&str>
pub fn push(&mut self, element: &str) -> DirectoryContentPathResult<()>
pub fn len(&self) -> usize
pub fn root(&self) -> Option<&str>
pub fn get(&self, n: usize) -> Option<&str>
pub fn append(&mut self, other: Self)
pub fn pop(&mut self) -> Option<String>
pub fn iter(&self) -> Iter<'_, String>
Trait Implementations§
Source§impl Clone for DirectoryContentPath
 
impl Clone for DirectoryContentPath
Source§fn clone(&self) -> DirectoryContentPath
 
fn clone(&self) -> DirectoryContentPath
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl Debug for DirectoryContentPath
 
impl Debug for DirectoryContentPath
Source§impl Default for DirectoryContentPath
 
impl Default for DirectoryContentPath
Source§impl Display for DirectoryContentPath
 
impl Display for DirectoryContentPath
Source§impl From<&str> for DirectoryContentPath
 
impl From<&str> for DirectoryContentPath
Source§impl From<String> for DirectoryContentPath
 
impl From<String> for DirectoryContentPath
Source§impl<'a> Into<&'a [String]> for &'a DirectoryContentPath
 
impl<'a> Into<&'a [String]> for &'a DirectoryContentPath
Source§impl<'a> IntoIterator for &'a DirectoryContentPath
 
impl<'a> IntoIterator for &'a DirectoryContentPath
Source§impl IntoIterator for DirectoryContentPath
 
impl IntoIterator for DirectoryContentPath
Source§impl PartialEq for DirectoryContentPath
 
impl PartialEq for DirectoryContentPath
impl Eq for DirectoryContentPath
impl StructuralPartialEq for DirectoryContentPath
Auto Trait Implementations§
impl Freeze for DirectoryContentPath
impl RefUnwindSafe for DirectoryContentPath
impl Send for DirectoryContentPath
impl Sync for DirectoryContentPath
impl Unpin for DirectoryContentPath
impl UnwindSafe for DirectoryContentPath
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> 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