pub struct ForBinding {
pub var: Spanned<LocalName>,
pub index: ForBindingIndex,
}Expand description
A binding in a for comprehension: m: Maneuver or i: range(3)
Fields§
§var: Spanned<LocalName>§index: ForBindingIndexTrait Implementations§
Source§impl Clone for ForBinding
impl Clone for ForBinding
Source§fn clone(&self) -> ForBinding
fn clone(&self) -> ForBinding
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 ForBinding
impl Debug for ForBinding
Source§impl FormatEquivalent for ForBinding
impl FormatEquivalent for ForBinding
Source§fn format_equivalent(&self, other: &Self) -> bool
fn format_equivalent(&self, other: &Self) -> bool
Returns
true if self and other are equivalent up to formatting.Auto Trait Implementations§
impl Freeze for ForBinding
impl RefUnwindSafe for ForBinding
impl Send for ForBinding
impl Sync for ForBinding
impl Unpin for ForBinding
impl UnsafeUnpin for ForBinding
impl UnwindSafe for ForBinding
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