#[repr(C)]pub struct DirEntry {
pub inode: u32,
pub name: [u8; 28],
}Expand description
目录项
一个目录项包含一个 inode 编号和一个文件名
存储于目录 Inode 中
Fields§
§inode: u32§name: [u8; 28]Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DirEntry
impl RefUnwindSafe for DirEntry
impl Send for DirEntry
impl Sync for DirEntry
impl Unpin for DirEntry
impl UnwindSafe for DirEntry
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