Enum cl_ast::ast::MemberKind
source · pub enum MemberKind {
Call(Sym, Tuple),
Struct(Sym),
Tuple(Literal),
}
Expand description
The kind of Member access
Variants§
Trait Implementations§
source§impl Clone for MemberKind
impl Clone for MemberKind
source§fn clone(&self) -> MemberKind
fn clone(&self) -> MemberKind
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 MemberKind
impl Debug for MemberKind
source§impl Display for MemberKind
impl Display for MemberKind
source§impl Hash for MemberKind
impl Hash for MemberKind
source§impl PartialEq for MemberKind
impl PartialEq for MemberKind
source§fn eq(&self, other: &MemberKind) -> bool
fn eq(&self, other: &MemberKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for MemberKind
impl StructuralPartialEq for MemberKind
Auto Trait Implementations§
impl Freeze for MemberKind
impl RefUnwindSafe for MemberKind
impl Send for MemberKind
impl Sync for MemberKind
impl Unpin for MemberKind
impl UnwindSafe for MemberKind
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more