pub enum ForPattern {
Single(VariableRef),
Pair(VariableRef, VariableRef),
}
Variants§
Single(VariableRef)
Pair(VariableRef, VariableRef)
Implementations§
Source§impl ForPattern
impl ForPattern
pub fn is_mutable(&self) -> bool
Trait Implementations§
Source§impl Debug for ForPattern
impl Debug for ForPattern
Auto Trait Implementations§
impl Freeze for ForPattern
impl !RefUnwindSafe for ForPattern
impl !Send for ForPattern
impl !Sync for ForPattern
impl Unpin for ForPattern
impl !UnwindSafe for ForPattern
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