pub struct CppOptions {
pub namespace: Option<String>,
pub guard_style: GuardStyle,
pub includes: Vec<String>,
}Expand description
Parsed C++-specific configuration from lang_options.
Fields§
§namespace: Option<String>C++ namespace for generated code. Defaults to decoder name in snake_case.
guard_style: GuardStyleInclude guard style: “pragma” (default) or “ifndef”.
includes: Vec<String>Additional #include directives for user-provided type headers.
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