Struct mentat_ffi::ExternOption
[−]
[src]
A C representation Rust's Option.
A value of Some
results in value
containing a raw pointer as a c_void
.
A value of None
results in value
containing a null pointer.
#Safety
Callers are responsible for managing the memory for the return value.
A destructor destroy
is provided for releasing the memory for this
pointer type.
Fields
value: *mut c_void
Trait Implementations
impl Debug for ExternOption
[src]
impl Debug for ExternOption
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<T> From<Option<T>> for ExternOption
[src]
impl<T> From<Option<T>> for ExternOption
Auto Trait Implementations
impl !Send for ExternOption
impl !Send for ExternOption
impl !Sync for ExternOption
impl !Sync for ExternOption