Struct dirent
#[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_td_off: off_td_reclen: c_ushortd_type: c_uchard_name: [c_char; 256]
Trait Implementations
impl Clone for dirent
fn clone(&self) -> Self
impl Copy for dirent
impl Debug for dirent
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for dirent
impl Hash for dirent
fn hash<__H: Hasher>(&self, state: &mut __H)
impl PartialEq for dirent
fn eq(&self, other: &Self) -> bool
impl StructuralPartialEq 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 UnsafeUnpin for dirent
impl UnwindSafe for dirent
Blanket Implementations
impl<T> Any for dirent
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for dirent
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for dirent
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for dirent
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for dirent
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for dirent
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for dirent
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for dirent
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>