Enum cglue::option::COption [−][src]
#[repr(C)] pub enum COption<T> { None, Some(T), }
Expand description
FFI-safe Option.
This type is not really meant for general use, but rather as a last-resort conversion for type wrapping.
Typical workflow would include temporarily converting into/from COption.
Variants
Implementations
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for COption<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for COption<T> where
T: UnwindSafe,