#[repr(u8)]
pub enum c_void {
// some variants omitted
}
Equivalent to C's void type when used as a pointer.
In essence, *const c_void is equivalent to C's const void*
and *mut c_void is equivalent to C's void*. That said, this is
not the same as C's void return type, which is Rust's () type.
Ideally, this type would be equivalent to !, but currently it may
be more ideal to use c_void for FFI purposes.
Formats the value using the given formatter. Read more
🔬 This is a nightly-only experimental API. (
try_from #33417)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (
try_from #33417)
🔬 This is a nightly-only experimental API. (
try_from #33417)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (
try_from #33417)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id #27745)
this method will likely be replaced by an associated static