Enum roost_lang::nodes::MemberKind
source · [−]pub enum MemberKind {
Attribute(VarStmt),
Method(FunctionDecl),
}
Variants
Attribute(VarStmt)
Method(FunctionDecl)
Trait Implementations
sourceimpl Clone for MemberKind
impl Clone for MemberKind
sourcefn clone(&self) -> MemberKind
fn clone(&self) -> MemberKind
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for MemberKind
impl Debug for MemberKind
sourceimpl PartialEq<MemberKind> for MemberKind
impl PartialEq<MemberKind> for MemberKind
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &MemberKind) -> bool
fn ne(&self, other: &MemberKind) -> bool
This method tests for !=
.
impl StructuralPartialEq for MemberKind
Auto Trait Implementations
impl RefUnwindSafe for MemberKind
impl Send for MemberKind
impl Sync for MemberKind
impl Unpin for MemberKind
impl UnwindSafe for MemberKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more