pub enum SelectionKind {
FieldVal,
MethodVal,
MethodExpr,
}
Expand description
SelectionKind describes the kind of a selector expression x.f (excluding qualified identifiers).
Variants§
Trait Implementations§
Source§impl Clone for SelectionKind
impl Clone for SelectionKind
Source§fn clone(&self) -> SelectionKind
fn clone(&self) -> SelectionKind
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for SelectionKind
impl RefUnwindSafe for SelectionKind
impl Send for SelectionKind
impl Sync for SelectionKind
impl Unpin for SelectionKind
impl UnwindSafe for SelectionKind
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