pub struct ForInLoop { /* private fields */ }
Implementations
sourceimpl ForInLoop
impl ForInLoop
pub fn new<V, I, B>(variable: V, expr: I, body: B) -> Selfwhere
V: Into<Node>,
I: Into<Node>,
B: Into<Node>,
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
sourceimpl Executable for ForInLoop
impl Executable for ForInLoop
sourceimpl Trace for ForInLoop
impl Trace for ForInLoop
sourcefn finalize_glue(&self)
fn finalize_glue(&self)
Runs Finalize::finalize() on this object and all
contained subobjects Read more
impl StructuralPartialEq for ForInLoop
Auto Trait Implementations
impl RefUnwindSafe for ForInLoop
impl !Send for ForInLoop
impl !Sync for ForInLoop
impl Unpin for ForInLoop
impl UnwindSafe for ForInLoop
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more