Struct r2api::DIR

source ·
#[repr(C)]
pub struct DIR { pub __dd_fd: c_int, pub __dd_loc: c_long, pub __dd_size: c_long, pub __dd_buf: *mut c_char, pub __dd_len: c_int, pub __dd_seek: c_long, pub __padding: c_long, pub __dd_flags: c_int, pub __dd_lock: __darwin_pthread_mutex_t, pub __dd_td: *mut _telldir, }

Fields§

§__dd_fd: c_int§__dd_loc: c_long§__dd_size: c_long§__dd_buf: *mut c_char§__dd_len: c_int§__dd_seek: c_long§__padding: c_long§__dd_flags: c_int§__dd_lock: __darwin_pthread_mutex_t§__dd_td: *mut _telldir

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.