pub struct CppOptions {
pub namespace: Option<String>,
pub guard_style: CppGuardStyle,
pub includes: Vec<String>,
}Expand description
C++ backend options.
Fields§
§namespace: Option<String>C++ namespace for generated code. Defaults to the decoder name in snake_case.
guard_style: CppGuardStyle§includes: Vec<String>Extra #include directives for user-provided type headers.
Trait Implementations§
Source§impl Clone for CppOptions
impl Clone for CppOptions
Source§fn clone(&self) -> CppOptions
fn clone(&self) -> CppOptions
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 Debug for CppOptions
impl Debug for CppOptions
Source§impl Default for CppOptions
impl Default for CppOptions
Source§fn default() -> CppOptions
fn default() -> CppOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CppOptions
impl RefUnwindSafe for CppOptions
impl Send for CppOptions
impl Sync for CppOptions
impl Unpin for CppOptions
impl UnsafeUnpin for CppOptions
impl UnwindSafe for CppOptions
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