#[repr(C)]pub struct posix_dent {
pub d_ino: ino_t,
pub d_off: off_t,
pub d_reclen: reclen_t,
pub d_type: c_uchar,
pub d_name: [c_char; 256],
}Expand description
See https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/dirent.h.html. must have the same struct layout as dirent
Fields§
§d_ino: ino_t§d_off: off_t§d_reclen: reclen_t§d_type: c_uchar§d_name: [c_char; 256]Trait Implementations§
Source§impl Clone for posix_dent
impl Clone for posix_dent
Source§fn clone(&self) -> posix_dent
fn clone(&self) -> posix_dent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for posix_dent
impl RefUnwindSafe for posix_dent
impl Send for posix_dent
impl Sync for posix_dent
impl Unpin for posix_dent
impl UnsafeUnpin for posix_dent
impl UnwindSafe for posix_dent
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