Struct DIR

#[repr(C)]
pub struct DIR { /* private fields */ }

This is an extern type ("opaque" or "incomplete" type in C).

This type's current representation allows inspecting some properties, such as via size_of, and it is technically possible to construct the type within MaybeUninit, However, this MUST NOT be relied upon because a future version of libc may switch to a proper extern type representation when available.

Trait Implementations

impl Clone for DIR

fn clone(&self) -> DIR

impl Copy for DIR

impl Debug for DIR

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Send for DIR

impl Sync for DIR

Auto Trait Implementations

impl !Unpin for DIR

impl Freeze for DIR

impl RefUnwindSafe for DIR

impl UnsafeUnpin for DIR

impl UnwindSafe for DIR

Blanket Implementations

impl<T> Any for DIR where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for DIR where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for DIR where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for DIR where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for DIR

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into<U> for DIR where U: From<T>,

fn into(self) -> U

Calls U::from(self).

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

impl<T, U> TryFrom<U> for DIR where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for DIR where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>