Struct rustc_lint::lint::LintId
[−]
[src]
pub struct LintId {
// some fields omitted
}Unstable (
rustc_private)Identifies a lint known to the compiler.
Methods
impl LintId
fn of(lint: &'static Lint) -> LintId
Unstable (
rustc_private)Get the LintId for a Lint.
fn as_str(&self) -> String
Unstable (
rustc_private)Get the name of the lint.
Trait Implementations
impl PartialEq<LintId> for LintId
fn eq(&self, other: &LintId) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Eq for LintId
impl Hash for LintId
Derived Implementations
impl Debug for LintId
impl Copy for LintId
impl Clone for LintId
fn clone(&self) -> LintId
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more