pub enum StatementBody {
Statement(Expression),
Expression(Expression),
}Variants§
Statement(Expression)
Expression(Expression)
Implementations§
Source§impl StatementBody
impl StatementBody
pub fn is_soft_return(&self) -> bool
Trait Implementations§
Source§impl Clone for StatementBody
impl Clone for StatementBody
Source§fn clone(&self) -> StatementBody
fn clone(&self) -> StatementBody
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 moreSource§impl Debug for StatementBody
impl Debug for StatementBody
Source§impl Serialize for StatementBody
impl Serialize for StatementBody
Auto Trait Implementations§
impl Freeze for StatementBody
impl RefUnwindSafe for StatementBody
impl Send for StatementBody
impl Sync for StatementBody
impl Unpin for StatementBody
impl UnsafeUnpin for StatementBody
impl UnwindSafe for StatementBody
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