Enum swc_ecma_usage_analyzer::alias::AccessKind
source · pub enum AccessKind {
Reference,
Call,
}
Variants§
Trait Implementations§
source§impl Clone for AccessKind
impl Clone for AccessKind
source§fn clone(&self) -> AccessKind
fn clone(&self) -> AccessKind
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 AccessKind
impl Debug for AccessKind
source§impl Hash for AccessKind
impl Hash for AccessKind
source§impl Ord for AccessKind
impl Ord for AccessKind
source§fn cmp(&self, other: &AccessKind) -> Ordering
fn cmp(&self, other: &AccessKind) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<AccessKind> for AccessKind
impl PartialEq<AccessKind> for AccessKind
source§fn eq(&self, other: &AccessKind) -> bool
fn eq(&self, other: &AccessKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<AccessKind> for AccessKind
impl PartialOrd<AccessKind> for AccessKind
source§fn partial_cmp(&self, other: &AccessKind) -> Option<Ordering>
fn partial_cmp(&self, other: &AccessKind) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for AccessKind
impl Eq for AccessKind
impl StructuralEq for AccessKind
impl StructuralPartialEq for AccessKind
Auto Trait Implementations§
impl RefUnwindSafe for AccessKind
impl Send for AccessKind
impl Sync for AccessKind
impl Unpin for AccessKind
impl UnwindSafe for AccessKind
Blanket Implementations§
source§impl<T> CallHasher for Twhere
T: Hash + ?Sized,
impl<T> CallHasher for Twhere
T: Hash + ?Sized,
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.