Struct ra_ap_hir_def::nameres::diagnostics::DefDiagnostic
source · pub struct DefDiagnostic {
pub in_module: LocalModuleId,
pub kind: DefDiagnosticKind,
}
Fields§
§in_module: LocalModuleId
§kind: DefDiagnosticKind
Implementations§
source§impl DefDiagnostic
impl DefDiagnostic
pub fn unconfigured_code(
container: LocalModuleId,
ast: AstId<AnyHasAttrs>,
cfg: CfgExpr,
opts: CfgOptions
) -> Self
Trait Implementations§
source§impl Debug for DefDiagnostic
impl Debug for DefDiagnostic
source§impl PartialEq<DefDiagnostic> for DefDiagnostic
impl PartialEq<DefDiagnostic> for DefDiagnostic
source§fn eq(&self, other: &DefDiagnostic) -> bool
fn eq(&self, other: &DefDiagnostic) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DefDiagnostic
impl StructuralEq for DefDiagnostic
impl StructuralPartialEq for DefDiagnostic
Auto Trait Implementations§
impl RefUnwindSafe for DefDiagnostic
impl Send for DefDiagnostic
impl Sync for DefDiagnostic
impl Unpin for DefDiagnostic
impl UnwindSafe for DefDiagnostic
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.