Struct esr::ast::statement::DoStatement
source · pub struct DoStatement<'ast> {
pub body: StatementNode<'ast>,
pub test: ExpressionNode<'ast>,
}
Fields
body: StatementNode<'ast>
test: ExpressionNode<'ast>
Trait Implementations
sourceimpl<'ast> Clone for DoStatement<'ast>
impl<'ast> Clone for DoStatement<'ast>
sourcefn clone(&self) -> DoStatement<'ast>
fn clone(&self) -> DoStatement<'ast>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'ast> Debug for DoStatement<'ast>
impl<'ast> Debug for DoStatement<'ast>
sourceimpl<'ast> From<DoStatement<'ast>> for Statement<'ast>
impl<'ast> From<DoStatement<'ast>> for Statement<'ast>
sourcefn from(val: DoStatement<'ast>) -> Self
fn from(val: DoStatement<'ast>) -> Self
Converts to this type from the input type.
sourceimpl<'ast> PartialEq<DoStatement<'ast>> for DoStatement<'ast>
impl<'ast> PartialEq<DoStatement<'ast>> for DoStatement<'ast>
sourcefn eq(&self, other: &DoStatement<'ast>) -> bool
fn eq(&self, other: &DoStatement<'ast>) -> bool
impl<'ast> Copy for DoStatement<'ast>
impl<'ast> StructuralPartialEq for DoStatement<'ast>
Auto Trait Implementations
impl<'ast> RefUnwindSafe for DoStatement<'ast>
impl<'ast> Send for DoStatement<'ast>
impl<'ast> !Sync for DoStatement<'ast>
impl<'ast> Unpin for DoStatement<'ast>
impl<'ast> UnwindSafe for DoStatement<'ast>
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