pub struct WhenBuilder { /* private fields */ }Expand description
When-then-otherwise builder.
Implementations§
Source§impl WhenBuilder
impl WhenBuilder
pub fn then(self, then_expr: ExprIr) -> WhenThenBuilder
Auto Trait Implementations§
impl Freeze for WhenBuilder
impl RefUnwindSafe for WhenBuilder
impl Send for WhenBuilder
impl Sync for WhenBuilder
impl Unpin for WhenBuilder
impl UnsafeUnpin for WhenBuilder
impl UnwindSafe for WhenBuilder
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