Struct ra_ap_hir::diagnostics::InactiveCode
source · pub struct InactiveCode {
pub node: InFile<SyntaxNodePtr>,
pub cfg: CfgExpr,
pub opts: CfgOptions,
}
Fields§
§node: InFile<SyntaxNodePtr>
§cfg: CfgExpr
§opts: CfgOptions
Trait Implementations§
source§impl Clone for InactiveCode
impl Clone for InactiveCode
source§fn clone(&self) -> InactiveCode
fn clone(&self) -> InactiveCode
Returns a copy of the value. Read more
1.0.0 · 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 InactiveCode
impl Debug for InactiveCode
source§impl From<InactiveCode> for AnyDiagnostic
impl From<InactiveCode> for AnyDiagnostic
source§fn from(d: InactiveCode) -> AnyDiagnostic
fn from(d: InactiveCode) -> AnyDiagnostic
Converts to this type from the input type.
source§impl PartialEq<InactiveCode> for InactiveCode
impl PartialEq<InactiveCode> for InactiveCode
source§fn eq(&self, other: &InactiveCode) -> bool
fn eq(&self, other: &InactiveCode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for InactiveCode
impl StructuralEq for InactiveCode
impl StructuralPartialEq for InactiveCode
Auto Trait Implementations§
impl RefUnwindSafe for InactiveCode
impl Send for InactiveCode
impl Sync for InactiveCode
impl Unpin for InactiveCode
impl UnwindSafe for InactiveCode
Blanket Implementations§
§impl<T> Cast for T
impl<T> Cast for T
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.