pub struct DoWhileStatement {
pub body: Box<Statement>,
pub test: Option<Expression>,
}
Fields
body: Box<Statement>
test: Option<Expression>
Trait Implementations
sourceimpl Clone for DoWhileStatement
impl Clone for DoWhileStatement
sourcefn clone(&self) -> DoWhileStatement
fn clone(&self) -> DoWhileStatement
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 more
sourceimpl Debug for DoWhileStatement
impl Debug for DoWhileStatement
sourceimpl Interpretable for DoWhileStatement
impl Interpretable for DoWhileStatement
sourceimpl PartialEq<DoWhileStatement> for DoWhileStatement
impl PartialEq<DoWhileStatement> for DoWhileStatement
sourcefn eq(&self, other: &DoWhileStatement) -> bool
fn eq(&self, other: &DoWhileStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DoWhileStatement) -> bool
fn ne(&self, other: &DoWhileStatement) -> bool
This method tests for !=
.
impl Eq for DoWhileStatement
impl StructuralEq for DoWhileStatement
impl StructuralPartialEq for DoWhileStatement
Auto Trait Implementations
impl RefUnwindSafe for DoWhileStatement
impl !Send for DoWhileStatement
impl !Sync for DoWhileStatement
impl Unpin for DoWhileStatement
impl UnwindSafe for DoWhileStatement
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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