Struct esp_idf_svc::hal::sys::dirent
source · #[repr(C)]pub struct dirent {
pub d_ino: u16,
pub d_type: u8,
pub d_name: [i8; 256],
}
Expand description
@brief Directory entry structure
Fields§
§d_ino: u16
< file number
d_type: u8
< not defined in POSIX, but present in BSD and Linux
d_name: [i8; 256]
< zero-terminated file name
Trait Implementations§
impl 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§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)