#[repr(u8)] pub enum c_void { // some variants omitted }
Type used to construct void pointers for use with C.
This type is only useful as a pointer target. Do not use it as a return type for FFI functions which have the void
return type in C. Use the unit type ()
or omit the return type instead.
impl Debug for c_void
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter.
© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/os/raw/enum.c_void.html