pub struct CompilerLintOptions {
pub preserve_const_enums: bool,
pub emit_decorator_metadata: bool,
pub use_define_for_class_fields: bool,
}Expand description
Compiler-option state consumed by configuration-phase lint rules.
Fields§
§preserve_const_enums: bool§emit_decorator_metadata: bool§use_define_for_class_fields: boolImplementations§
Trait Implementations§
Source§impl Clone for CompilerLintOptions
impl Clone for CompilerLintOptions
Source§fn clone(&self) -> CompilerLintOptions
fn clone(&self) -> CompilerLintOptions
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 moreimpl Copy for CompilerLintOptions
Source§impl Debug for CompilerLintOptions
impl Debug for CompilerLintOptions
Source§impl Default for CompilerLintOptions
impl Default for CompilerLintOptions
Source§fn default() -> CompilerLintOptions
fn default() -> CompilerLintOptions
Returns the “default value” for a type. Read more
impl Eq for CompilerLintOptions
Source§impl Hash for CompilerLintOptions
impl Hash for CompilerLintOptions
Source§impl PartialEq for CompilerLintOptions
impl PartialEq for CompilerLintOptions
impl StructuralPartialEq for CompilerLintOptions
Auto Trait Implementations§
impl Freeze for CompilerLintOptions
impl RefUnwindSafe for CompilerLintOptions
impl Send for CompilerLintOptions
impl Sync for CompilerLintOptions
impl Unpin for CompilerLintOptions
impl UnsafeUnpin for CompilerLintOptions
impl UnwindSafe for CompilerLintOptions
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