pub struct WhileStatement {
pub test: Rc<Expression>,
pub body: Rc<Statement>,
pub span: Span,
}Fields§
§test: Rc<Expression>§body: Rc<Statement>§span: SpanTrait Implementations§
Source§impl Clone for WhileStatement
impl Clone for WhileStatement
Source§fn clone(&self) -> WhileStatement
fn clone(&self) -> WhileStatement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !Send for WhileStatement
impl !Sync for WhileStatement
impl Freeze for WhileStatement
impl RefUnwindSafe for WhileStatement
impl Unpin for WhileStatement
impl UnsafeUnpin for WhileStatement
impl UnwindSafe for WhileStatement
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more