pub enum TargetExpr {
Bare(Vec<u8>),
Path(Vec<Vec<u8>>),
Receiver {
receiver: Box<TargetExpr>,
name: Vec<u8>,
},
SelfType(Vec<u8>),
External {
package: Vec<u8>,
path: Vec<Vec<u8>>,
},
}Variants§
Trait Implementations§
Source§impl Clone for TargetExpr
impl Clone for TargetExpr
Source§fn clone(&self) -> TargetExpr
fn clone(&self) -> TargetExpr
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TargetExpr
impl Debug for TargetExpr
impl Eq for TargetExpr
Source§impl PartialEq for TargetExpr
impl PartialEq for TargetExpr
impl StructuralPartialEq for TargetExpr
Auto Trait Implementations§
impl Freeze for TargetExpr
impl RefUnwindSafe for TargetExpr
impl Send for TargetExpr
impl Sync for TargetExpr
impl Unpin for TargetExpr
impl UnsafeUnpin for TargetExpr
impl UnwindSafe for TargetExpr
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.