pub struct CsGenOptions {
pub root_namespace: Option<String>,
pub indent_width: usize,
pub use_records: bool,
pub emit_corba_traits: bool,
}Expand description
Konfiguration des C#-Code-Generators.
Fields§
§root_namespace: Option<String>Optionaler aeusserer Namespace, in den der gesamte Output gewickelt
wird. None oder leer = kein Wrapper.
indent_width: usizeIndent-Breite in Leerzeichen. Default 4 (C# Coding-Conventions).
use_records: boolWenn true: struct-Mapping verwendet record class (Spec-konform).
Wenn false: struct-Mapping verwendet plain class (Legacy-CCM).
Default true.
emit_corba_traits: boolAnnex A.1 (idl4-csharp-1.0) — opt-in: emittiert pro
Top-Level-Type CORBA-Marker (Corba.ValueTypeAttribute)
- statischen
Corba.Traits-Helper. Defaultfalse.
Trait Implementations§
Source§impl Clone for CsGenOptions
impl Clone for CsGenOptions
Source§fn clone(&self) -> CsGenOptions
fn clone(&self) -> CsGenOptions
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 CsGenOptions
impl Debug for CsGenOptions
Auto Trait Implementations§
impl Freeze for CsGenOptions
impl RefUnwindSafe for CsGenOptions
impl Send for CsGenOptions
impl Sync for CsGenOptions
impl Unpin for CsGenOptions
impl UnsafeUnpin for CsGenOptions
impl UnwindSafe for CsGenOptions
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