#[repr(C)]pub struct DirEnt {
pub next: DirCookie,
pub inode: Inode,
pub name_len: u32,
pub file_type: FileType,
}Expand description
A directory entry.
Fields§
§next: DirCookieThe offset of the next directory entry stored in this directory.
inode: InodeThe serial number of the file referred to by this directory entry.
name_len: u32The length of the name of the directory entry.
file_type: FileTypeThe type of the file referred to by this directory entry.
Trait Implementations§
impl Copy for DirEnt
impl Eq for DirEnt
impl StructuralPartialEq for DirEnt
Auto Trait Implementations§
impl Freeze for DirEnt
impl RefUnwindSafe for DirEnt
impl Send for DirEnt
impl Sync for DirEnt
impl Unpin for DirEnt
impl UnwindSafe for DirEnt
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