#[repr(C)]pub struct dirent {
pub d_ino: ino_t,
pub d_off: off_t,
pub d_reclen: c_ushort,
pub d_type: c_uchar,
pub d_name: [c_char; 256],
}
Fields
d_ino: ino_t
d_off: off_t
d_reclen: c_ushort
d_type: c_uchar
d_name: [c_char; 256]
Trait Implementations
sourceimpl Hash for dirent
impl Hash for dirent
1.3.0fn hash_slice<H>(data: &[Self], state: &mut H)where
H: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H)where
H: Hasher,
Feeds a slice of this type into the given [
Hasher
]. Read moreimpl Copy for dirent
impl Eq for dirent
Auto Trait Implementations
impl RefUnwindSafe for dirent
impl Send for dirent
impl Sync for dirent
impl Unpin for dirent
impl UnwindSafe for dirent
Blanket Implementations
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more