pub struct Binding {
pub held: Ident,
pub at: BindingAt,
}Expand description
ONE field a template referred to.
Fields§
§held: IdentThe name the template now spells and the pattern introduces.
at: BindingAtWHERE in the variant it is — a position for a tuple variant, a field name for a named one.
Trait Implementations§
Auto Trait Implementations§
impl !Send for Binding
impl !Sync for Binding
impl Freeze for Binding
impl RefUnwindSafe for Binding
impl Unpin for Binding
impl UnsafeUnpin for Binding
impl UnwindSafe for Binding
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