pub struct ResDirEntry { /* private fields */ }Expand description
Represent an file or directory entry returned by ResReadDir.
Implementations§
Source§impl ResDirEntry
impl ResDirEntry
Sourcepub fn path(&self) -> String
pub fn path(&self) -> String
Reconstruct the full path of the entry for later ResFilesystem::read() call.
Auto Trait Implementations§
impl Freeze for ResDirEntry
impl RefUnwindSafe for ResDirEntry
impl Send for ResDirEntry
impl Sync for ResDirEntry
impl Unpin for ResDirEntry
impl UnwindSafe for ResDirEntry
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