pub enum CppOptional {
Std17,
Boost,
}
Expand description
To which C++
type map std::option::Option
Variants§
Trait Implementations§
Source§impl Clone for CppOptional
impl Clone for CppOptional
Source§fn clone(&self) -> CppOptional
fn clone(&self) -> CppOptional
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl From<CppOptional> for &'static str
impl From<CppOptional> for &'static str
Source§fn from(x: CppOptional) -> Self
fn from(x: CppOptional) -> Self
Converts to this type from the input type.
Source§impl IntoEnumIterator for CppOptional
impl IntoEnumIterator for CppOptional
type Iterator = CppOptionalIter
fn iter() -> CppOptionalIter ⓘ
impl Copy for CppOptional
Auto Trait Implementations§
impl Freeze for CppOptional
impl RefUnwindSafe for CppOptional
impl Send for CppOptional
impl Sync for CppOptional
impl Unpin for CppOptional
impl UnwindSafe for CppOptional
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more