pub enum BindTarget {
Var(Var),
Blank,
}Expand description
A binding target: a variable or the blank.
Variants§
Trait Implementations§
Source§impl Clone for BindTarget
impl Clone for BindTarget
Source§fn clone(&self) -> BindTarget
fn clone(&self) -> BindTarget
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 BindTarget
impl Debug for BindTarget
impl Eq for BindTarget
Source§impl PartialEq for BindTarget
impl PartialEq for BindTarget
impl StructuralPartialEq for BindTarget
Auto Trait Implementations§
impl Freeze for BindTarget
impl RefUnwindSafe for BindTarget
impl Send for BindTarget
impl Sync for BindTarget
impl Unpin for BindTarget
impl UnsafeUnpin for BindTarget
impl UnwindSafe for BindTarget
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