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 Clone for ForPattern
impl Clone for ForPattern
Source§fn clone(&self) -> ForPattern
fn clone(&self) -> ForPattern
Returns a copy of the value. Read more
1.0.0 · 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 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