pub struct CodegenOptions<'a> {
pub force_wrapper_gen: bool,
pub cpp_codegen_options: CppCodegenOptions<'a>,
}Expand description
Code generation options.
Fields§
§force_wrapper_gen: bool§cpp_codegen_options: CppCodegenOptions<'a>Options about the C++ code generation.
Trait Implementations§
Source§impl<'a> Default for CodegenOptions<'a>
impl<'a> Default for CodegenOptions<'a>
Source§fn default() -> CodegenOptions<'a>
fn default() -> CodegenOptions<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for CodegenOptions<'a>
impl<'a> !RefUnwindSafe for CodegenOptions<'a>
impl<'a> !Send for CodegenOptions<'a>
impl<'a> !Sync for CodegenOptions<'a>
impl<'a> Unpin for CodegenOptions<'a>
impl<'a> !UnwindSafe for CodegenOptions<'a>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more