#[repr(C)]pub struct PosixDent {
pub d_ino: u64,
pub d_reclen: u16,
pub d_type: FileType,
pub d_name: PhantomData<c_char>,
}Expand description
Directory entry as defined by POSIX.1-2024 (struct posix_dent).
Fields§
§d_ino: u64File serial number
d_reclen: u16Length of this entry, including trailing padding
d_type: FileTypeFile type or unknown-file-type indication
d_name: PhantomData<c_char>Filename string of this entry (null-terminated)
Auto Trait Implementations§
impl Freeze for PosixDent
impl RefUnwindSafe for PosixDent
impl Send for PosixDent
impl Sync for PosixDent
impl Unpin for PosixDent
impl UnsafeUnpin for PosixDent
impl UnwindSafe for PosixDent
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