pub enum RustShape {
Expression,
SideEffect,
}Variants§
Expression
Block’s last statement is an expression without trailing ; —
the block’s value becomes a child via .child(block).
SideEffect
Block has a unit tail (last statement ends in ; or is a
Stmt::Semi) — emitted as a side-effect statement.
Trait Implementations§
impl Copy for RustShape
impl Eq for RustShape
impl StructuralPartialEq for RustShape
Auto Trait Implementations§
impl Freeze for RustShape
impl RefUnwindSafe for RustShape
impl Send for RustShape
impl Sync for RustShape
impl Unpin for RustShape
impl UnsafeUnpin for RustShape
impl UnwindSafe for RustShape
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