[−][src]Struct flapigen::CppConfig
Configuration for C++ binding generation
Implementations
impl CppConfig
[src]
pub fn new(output_dir: PathBuf, namespace_name: String) -> CppConfig
[src]
Create CppConfig
Arguments
output_dir
- directory where place generated c++ filesnamespace_name
- namespace name for generated c++ classes
pub fn cpp_optional(self, cpp_optional: CppOptional) -> CppConfig
[src]
pub fn cpp_variant(self, cpp_variant: CppVariant) -> CppConfig
[src]
pub fn cpp_str_view(self, cpp_str_view: CppStrView) -> CppConfig
[src]
pub fn use_boost(self) -> CppConfig
[src]
Use boost for that fit: Result -> boost::variant, Option -> boost::optional, &str -> boost::string_view
pub fn separate_impl_headers(self, separate_impl_headers: bool) -> CppConfig
[src]
Create separate *_impl.hpp files with methods' implementations. Can be necessary for the project with circular dependencies between classes.
Auto Trait Implementations
impl RefUnwindSafe for CppConfig
impl Send for CppConfig
impl Sync for CppConfig
impl Unpin for CppConfig
impl UnwindSafe for CppConfig
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,