#[repr(C)]pub struct __wasi_prestat_dir_t {
pub pr_name_len: __wasi_size_t,
}Expand description
The contents of a $prestat when type is preopentype::dir.
Fields§
§pr_name_len: __wasi_size_tThe length of the directory name for use with fd_prestat_dir_name.
Trait Implementations§
Source§impl Clone for __wasi_prestat_dir_t
impl Clone for __wasi_prestat_dir_t
Source§fn clone(&self) -> __wasi_prestat_dir_t
fn clone(&self) -> __wasi_prestat_dir_t
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for __wasi_prestat_dir_t
impl Debug for __wasi_prestat_dir_t
Source§impl Default for __wasi_prestat_dir_t
impl Default for __wasi_prestat_dir_t
Source§fn default() -> __wasi_prestat_dir_t
fn default() -> __wasi_prestat_dir_t
Returns the “default value” for a type. Read more
Source§impl Hash for __wasi_prestat_dir_t
impl Hash for __wasi_prestat_dir_t
Source§impl Ord for __wasi_prestat_dir_t
impl Ord for __wasi_prestat_dir_t
Source§fn cmp(&self, other: &__wasi_prestat_dir_t) -> Ordering
fn cmp(&self, other: &__wasi_prestat_dir_t) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for __wasi_prestat_dir_t
impl PartialEq for __wasi_prestat_dir_t
Source§impl PartialOrd for __wasi_prestat_dir_t
impl PartialOrd for __wasi_prestat_dir_t
impl Copy for __wasi_prestat_dir_t
impl Eq for __wasi_prestat_dir_t
impl StructuralPartialEq for __wasi_prestat_dir_t
Auto Trait Implementations§
impl Freeze for __wasi_prestat_dir_t
impl RefUnwindSafe for __wasi_prestat_dir_t
impl Send for __wasi_prestat_dir_t
impl Sync for __wasi_prestat_dir_t
impl Unpin for __wasi_prestat_dir_t
impl UnwindSafe for __wasi_prestat_dir_t
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