pub struct CGenOptions {
pub include_guard: Option<String>,
pub file_header: Option<String>,
}Expand description
Codegen-Optionen (parallel zu CppGenOptions).
Fields§
§include_guard: Option<String>Optionaler Include-Guard-Name (Default: ZERODDS_GENERATED_H).
file_header: Option<String>Optionaler Datei-Header-Kommentar.
Trait Implementations§
Source§impl Clone for CGenOptions
impl Clone for CGenOptions
Source§fn clone(&self) -> CGenOptions
fn clone(&self) -> CGenOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CGenOptions
impl Debug for CGenOptions
Source§impl Default for CGenOptions
impl Default for CGenOptions
Source§fn default() -> CGenOptions
fn default() -> CGenOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CGenOptions
impl RefUnwindSafe for CGenOptions
impl Send for CGenOptions
impl Sync for CGenOptions
impl Unpin for CGenOptions
impl UnsafeUnpin for CGenOptions
impl UnwindSafe for CGenOptions
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