#[repr(u8)]
pub enum c_void {
    // some variants omitted
}
Expand description

This is an exact copy of https://doc.rust-lang.org/core/ffi/enum.c_void.html It should be Equivalent to C’s void type when used as a pointer.

We can replace this with core::ffi::c_void once we update the rustc version to >=1.30.0.

Trait Implementations

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 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.