pub struct RootDir { /* private fields */ }Available on crate feature
alloc and crate feature sync and (crate features alloc or read) only.Expand description
Represents RootDir.
Implementations§
Source§impl RootDir
impl RootDir
Sourcepub fn entry_type(&self) -> EntryType
pub fn entry_type(&self) -> EntryType
Returns the filename namespace represented by this root.
Sourcepub fn iter<'a, DATA: Read + Seek>(
&self,
iso: &'a IsoImage<DATA>,
) -> IsoDir<'a, DATA>
pub fn iter<'a, DATA: Read + Seek>( &self, iso: &'a IsoImage<DATA>, ) -> IsoDir<'a, DATA>
Performs the iter operation.
Sourcepub fn dir_ref(&self) -> DirectoryRef
pub fn dir_ref(&self) -> DirectoryRef
Returns the underlying DirectoryRef for this root directory.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RootDir
impl RefUnwindSafe for RootDir
impl Send for RootDir
impl Sync for RootDir
impl Unpin for RootDir
impl UnsafeUnpin for RootDir
impl UnwindSafe for RootDir
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