#[repr(C)]pub struct AstStatWhile {
pub base: AstStat,
pub condition: *mut AstExpr,
pub body: *mut AstStatBlock,
pub has_do: bool,
pub do_location: Location,
}Fields§
§base: AstStat§condition: *mut AstExpr§body: *mut AstStatBlock§has_do: bool§do_location: LocationImplementations§
Trait Implementations§
Source§impl AstNodeClass for AstStatWhile
impl AstNodeClass for AstStatWhile
Source§const CLASS_INDEX: i32
const CLASS_INDEX: i32
The node’s RTTI id; mirrors
T::ClassIndex().Source§impl AstVisitable for AstStatWhile
impl AstVisitable for AstStatWhile
fn visit(&self, visitor: &mut dyn AstVisitor)
Auto Trait Implementations§
impl !Send for AstStatWhile
impl !Sync for AstStatWhile
impl Freeze for AstStatWhile
impl RefUnwindSafe for AstStatWhile
impl Unpin for AstStatWhile
impl UnsafeUnpin for AstStatWhile
impl UnwindSafe for AstStatWhile
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