Struct sway_core::language::parsed::WhileLoopExpression
source · pub struct WhileLoopExpression {
pub condition: Box<Expression>,
pub body: CodeBlock,
}
Fields
condition: Box<Expression>
body: CodeBlock
Trait Implementations
sourceimpl Clone for WhileLoopExpression
impl Clone for WhileLoopExpression
sourcefn clone(&self) -> WhileLoopExpression
fn clone(&self) -> WhileLoopExpression
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 moreAuto Trait Implementations
impl RefUnwindSafe for WhileLoopExpression
impl Send for WhileLoopExpression
impl Sync for WhileLoopExpression
impl Unpin for WhileLoopExpression
impl UnwindSafe for WhileLoopExpression
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