pub struct ForLoopContext { /* private fields */ }Implementations§
Source§impl ForLoopContext
impl ForLoopContext
pub fn new( range: Range, variable_names: Vec<VariableName>, source: Vec<ValueContext>, ) -> Self
pub fn variable_name(&self) -> &[VariableName]
pub fn source(&self) -> &[ValueContext]
Trait Implementations§
Source§impl Debug for ForLoopContext
impl Debug for ForLoopContext
Source§impl HasCommandInvocation for ForLoopContext
impl HasCommandInvocation for ForLoopContext
fn command_invocation(&self, on_found: &mut dyn FnMut(Range))
Source§impl HasLocation for ForLoopContext
impl HasLocation for ForLoopContext
Source§impl HasVariableDeclaration for ForLoopContext
impl HasVariableDeclaration for ForLoopContext
fn var_declaration( &self, on_found: &mut dyn FnMut(FoundVariableDeclaration<'_>), )
Source§impl HasVariableReference for ForLoopContext
impl HasVariableReference for ForLoopContext
fn var_references(&self, on_found: &mut dyn FnMut(&VariableReference))
Source§impl HasWarnings for ForLoopContext
impl HasWarnings for ForLoopContext
fn all_warnings(&self, on_found: &mut dyn FnMut(&ParsingError))
Source§impl PartialEq for ForLoopContext
impl PartialEq for ForLoopContext
impl StructuralPartialEq for ForLoopContext
Auto Trait Implementations§
impl Freeze for ForLoopContext
impl RefUnwindSafe for ForLoopContext
impl Send for ForLoopContext
impl Sync for ForLoopContext
impl Unpin for ForLoopContext
impl UnwindSafe for ForLoopContext
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