Struct apollo_compiler::database::hir::HirNodeLocation
source · pub struct HirNodeLocation { /* private fields */ }
Implementations§
Trait Implementations§
source§impl Clone for HirNodeLocation
impl Clone for HirNodeLocation
source§fn clone(&self) -> HirNodeLocation
fn clone(&self) -> HirNodeLocation
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 HirNodeLocation
impl Debug for HirNodeLocation
source§impl From<HirNodeLocation> for DiagnosticLocation
impl From<HirNodeLocation> for DiagnosticLocation
source§fn from(location: HirNodeLocation) -> Self
fn from(location: HirNodeLocation) -> Self
Converts to this type from the input type.
source§impl Hash for HirNodeLocation
impl Hash for HirNodeLocation
source§impl PartialEq<HirNodeLocation> for HirNodeLocation
impl PartialEq<HirNodeLocation> for HirNodeLocation
source§fn eq(&self, other: &HirNodeLocation) -> bool
fn eq(&self, other: &HirNodeLocation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for HirNodeLocation
impl Eq for HirNodeLocation
impl StructuralEq for HirNodeLocation
impl StructuralPartialEq for HirNodeLocation
Auto Trait Implementations§
impl RefUnwindSafe for HirNodeLocation
impl Send for HirNodeLocation
impl Sync for HirNodeLocation
impl Unpin for HirNodeLocation
impl UnwindSafe for HirNodeLocation
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.