pub struct WrittenFiles { /* private fields */ }Available on crate features
sync and write only.Expand description
Represents WrittenFiles.
Implementations§
Source§impl WrittenFiles
impl WrittenFiles
Sourcepub fn find_file(&self, name: &str, _sep: PathSeparator) -> Option<DirectoryRef>
pub fn find_file(&self, name: &str, _sep: PathSeparator) -> Option<DirectoryRef>
Performs the find_file operation.
Sourcepub fn root_dir(&self) -> DirectoryId
pub fn root_dir(&self) -> DirectoryId
Performs the root_dir operation.
Sourcepub fn root_refs(&self) -> &BTreeMap<EntryType, DirectoryRef>
pub fn root_refs(&self) -> &BTreeMap<EntryType, DirectoryRef>
Performs the root_refs operation.
Sourcepub fn get(&self, id: &DirectoryId) -> &WrittenDirectory
pub fn get(&self, id: &DirectoryId) -> &WrittenDirectory
Performs the get operation.
Sourcepub fn get_mut(&mut self, id: &DirectoryId) -> &mut WrittenDirectory
pub fn get_mut(&mut self, id: &DirectoryId) -> &mut WrittenDirectory
Performs the get_mut operation.
Trait Implementations§
Source§impl Debug for WrittenFiles
impl Debug for WrittenFiles
Auto Trait Implementations§
impl !RefUnwindSafe for WrittenFiles
impl !UnwindSafe for WrittenFiles
impl Freeze for WrittenFiles
impl Send for WrittenFiles
impl Sync for WrittenFiles
impl Unpin for WrittenFiles
impl UnsafeUnpin for WrittenFiles
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