pub struct RustGenOptions {
pub header_comment: Option<String>,
pub cdr_only: bool,
}Expand description
Options for the code generator.
Fields§
§header_comment: Option<String>Header comment placed at the top of the generated file. Included verbatim.
cdr_only: boolCDR-only mode for the CORBA/GIOP path: omits the DdsType impl
(XCDR2 + field_value) that pulls in zerodds_dcps/zerodds_types/
zerodds_sql_filter. Only type declarations and classic
CdrEncode/CdrDecode remain — the sole wire representation
for CORBA requests/replies (CDR §15.3).
Trait Implementations§
Source§impl Clone for RustGenOptions
impl Clone for RustGenOptions
Source§fn clone(&self) -> RustGenOptions
fn clone(&self) -> RustGenOptions
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 RustGenOptions
impl Debug for RustGenOptions
Source§impl Default for RustGenOptions
impl Default for RustGenOptions
Source§fn default() -> RustGenOptions
fn default() -> RustGenOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RustGenOptions
impl RefUnwindSafe for RustGenOptions
impl Send for RustGenOptions
impl Sync for RustGenOptions
impl Unpin for RustGenOptions
impl UnsafeUnpin for RustGenOptions
impl UnwindSafe for RustGenOptions
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