pub struct ShIf {
pub cond: Box<ShExpr>,
pub then_branch: ShBlock,
pub else_branch: Option<Box<ShExpr>>,
}
Fields§
§cond: Box<ShExpr>
§then_branch: ShBlock
§else_branch: Option<Box<ShExpr>>
Implementations§
Trait Implementations§
impl StructuralPartialEq for ShIf
Auto Trait Implementations§
impl Freeze for ShIf
impl RefUnwindSafe for ShIf
impl Send for ShIf
impl Sync for ShIf
impl Unpin for ShIf
impl UnwindSafe for ShIf
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