Struct linux_dirent

Source
#[repr(C)]
pub struct linux_dirent { pub d_ino: ulong, pub d_off: ulong, pub d_reclen: ushort, pub d_name: [char], }
Expand description

Used for crate::getdents.

Fields§

§d_ino: ulong§d_off: ulong§d_reclen: ushort§d_name: [char]

Trait Implementations§

Source§

impl Debug for linux_dirent

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more