pub enum BindingAt {
Position(usize),
Named(Ident),
}Expand description
Where a bound field sits in its variant.
Variants§
Position(usize)
A tuple variant’s field, by position.
Named(Ident)
A named variant’s field, by name.
Trait Implementations§
impl Eq for BindingAt
impl StructuralPartialEq for BindingAt
Auto Trait Implementations§
impl !Send for BindingAt
impl !Sync for BindingAt
impl Freeze for BindingAt
impl RefUnwindSafe for BindingAt
impl Unpin for BindingAt
impl UnsafeUnpin for BindingAt
impl UnwindSafe for BindingAt
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