pub struct ForBinding {
pub local: LocalDef,
pub index: ForBindingIndex,
}Expand description
A resolved for-comprehension binding.
Fields§
§local: LocalDef§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 moreAuto 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