pub struct CodegenConfig {
pub strict_annotations: bool,
}Expand description
Configuration for diagnostic-aware codegen.
Fields§
§strict_annotations: boolWhen true, unrecognised annotations escalate from
DDS-TS-W002 (warn-and-drop) to DDS-TS-E004 (fatal).
Trait Implementations§
Source§impl Clone for CodegenConfig
impl Clone for CodegenConfig
Source§fn clone(&self) -> CodegenConfig
fn clone(&self) -> CodegenConfig
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 CodegenConfig
impl Debug for CodegenConfig
Source§impl Default for CodegenConfig
impl Default for CodegenConfig
Source§fn default() -> CodegenConfig
fn default() -> CodegenConfig
Returns the “default value” for a type. Read more
Source§impl PartialEq for CodegenConfig
impl PartialEq for CodegenConfig
Source§fn eq(&self, other: &CodegenConfig) -> bool
fn eq(&self, other: &CodegenConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CodegenConfig
impl Eq for CodegenConfig
impl StructuralPartialEq for CodegenConfig
Auto Trait Implementations§
impl Freeze for CodegenConfig
impl RefUnwindSafe for CodegenConfig
impl Send for CodegenConfig
impl Sync for CodegenConfig
impl Unpin for CodegenConfig
impl UnsafeUnpin for CodegenConfig
impl UnwindSafe for CodegenConfig
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