pub struct WhileStatement {
pub predicate: Expression,
pub body: Vec<Statement>,
}
Fields
predicate: Expression
body: Vec<Statement>
Implementations
sourceimpl WhileStatement
impl WhileStatement
pub fn new(predicate: Expression, body: Vec<Statement>) -> Self
Trait Implementations
sourceimpl Clone for WhileStatement
impl Clone for WhileStatement
sourcefn clone(&self) -> WhileStatement
fn clone(&self) -> WhileStatement
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 Debug for WhileStatement
impl Debug for WhileStatement
sourceimpl PartialEq<WhileStatement> for WhileStatement
impl PartialEq<WhileStatement> for WhileStatement
sourcefn eq(&self, other: &WhileStatement) -> bool
fn eq(&self, other: &WhileStatement) -> bool
impl Eq for WhileStatement
impl StructuralEq for WhileStatement
impl StructuralPartialEq for WhileStatement
Auto Trait Implementations
impl RefUnwindSafe for WhileStatement
impl Send for WhileStatement
impl Sync for WhileStatement
impl Unpin for WhileStatement
impl UnwindSafe for WhileStatement
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