W3cubDocs

/Rust

Enum std::os::raw::c_void

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

Trait Implementations

impl Debug for c_void
1.15.0
[src]

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