pub struct BasicBody { /* private fields */ }
Implementations§
Source§impl BasicBody
impl BasicBody
pub fn new(statements: Vec<PStatement>, result: Option<PExpression>) -> Self
pub fn has_result(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BasicBody
impl RefUnwindSafe for BasicBody
impl Send for BasicBody
impl Sync for BasicBody
impl Unpin for BasicBody
impl UnwindSafe for BasicBody
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