#[repr(C)]pub struct Dirent {
    pub ino: u64,
    pub off: u64,
    pub namelen: u32,
    pub type_: u32,
}Fields§
§ino: u64§off: u64§namelen: u32§type_: u32Trait Implementations§
Source§impl ByteValued for Dirent
 
impl ByteValued for Dirent
Source§fn from_slice(data: &[u8]) -> Option<&Self>
 
fn from_slice(data: &[u8]) -> Option<&Self>
Converts a slice of raw data into a reference of 
Self. Read moreSource§fn from_mut_slice(data: &mut [u8]) -> Option<&mut Self>
 
fn from_mut_slice(data: &mut [u8]) -> Option<&mut Self>
Converts a mutable slice of raw data into a mutable reference of 
Self. Read moreSource§fn as_mut_slice(&mut self) -> &mut [u8] ⓘ
 
fn as_mut_slice(&mut self) -> &mut [u8] ⓘ
Converts a mutable reference to 
self into a mutable slice of bytes. Read moreSource§fn as_bytes(&mut self) -> VolatileSlice<'_>
 
fn as_bytes(&mut self) -> VolatileSlice<'_>
Converts a mutable reference to 
self into a VolatileSlice.  This is
useful because VolatileSlice provides a Bytes<usize> implementation. Read moreimpl Copy 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