Enum flapigen::CppStrView
source · [−]pub enum CppStrView {
Std17,
Boost,
}Expand description
To whcih C++ type map &str
Variants
Std17
std::string_view from C++17 standard
Boost
boost::string_view
Trait Implementations
sourceimpl Clone for CppStrView
impl Clone for CppStrView
sourcefn clone(&self) -> CppStrView
fn clone(&self) -> CppStrView
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl From<CppStrView> for &'static str
impl From<CppStrView> for &'static str
sourcefn from(x: CppStrView) -> Self
fn from(x: CppStrView) -> Self
Converts to this type from the input type.
sourceimpl IntoEnumIterator for CppStrView
impl IntoEnumIterator for CppStrView
type Iterator = CppStrViewIter
fn iter() -> CppStrViewIterⓘNotable traits for CppStrViewIterimpl Iterator for CppStrViewIter type Item = CppStrView;
impl Copy for CppStrView
Auto Trait Implementations
impl RefUnwindSafe for CppStrView
impl Send for CppStrView
impl Sync for CppStrView
impl Unpin for CppStrView
impl UnwindSafe for CppStrView
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more