Enum roost_lang::nodes::MemberPart
source · [−]pub enum MemberPart {
Field(String),
Index(Expression),
}
Variants
Field(String)
Index(Expression)
Trait Implementations
sourceimpl Clone for MemberPart
impl Clone for MemberPart
sourcefn clone(&self) -> MemberPart
fn clone(&self) -> MemberPart
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 MemberPart
impl Debug for MemberPart
sourceimpl PartialEq<MemberPart> for MemberPart
impl PartialEq<MemberPart> for MemberPart
sourcefn eq(&self, other: &MemberPart) -> bool
fn eq(&self, other: &MemberPart) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MemberPart) -> bool
fn ne(&self, other: &MemberPart) -> bool
This method tests for !=
.
impl StructuralPartialEq for MemberPart
Auto Trait Implementations
impl RefUnwindSafe for MemberPart
impl Send for MemberPart
impl Sync for MemberPart
impl Unpin for MemberPart
impl UnwindSafe for MemberPart
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