pub struct ForInLoop { /* private fields */ }Implementations§
Source§impl ForInLoop
impl ForInLoop
pub fn new<V, I, B>(variable: V, expr: I, body: B) -> Self
pub fn variable(&self) -> &Node
pub fn expr(&self) -> &Node
pub fn body(&self) -> &Node
pub fn label(&self) -> Option<&str>
pub fn set_label(&mut self, label: Box<str>)
pub fn display(&self, f: &mut Formatter<'_>, indentation: usize) -> Result
Trait Implementations§
Source§impl Executable for ForInLoop
impl Executable for ForInLoop
impl StructuralPartialEq for ForInLoop
Auto Trait Implementations§
impl !Send for ForInLoop
impl !Sync for ForInLoop
impl Freeze for ForInLoop
impl RefUnwindSafe for ForInLoop
impl Unpin for ForInLoop
impl UnsafeUnpin for ForInLoop
impl UnwindSafe for ForInLoop
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