pub enum SwitchValue<'a> {
Expr(Handle<Expression<'a>>),
Default,
}
Variants§
Expr(Handle<Expression<'a>>)
Default
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for SwitchValue<'a>
impl<'a> RefUnwindSafe for SwitchValue<'a>
impl<'a> Send for SwitchValue<'a>
impl<'a> Sync for SwitchValue<'a>
impl<'a> Unpin for SwitchValue<'a>
impl<'a> UnwindSafe for SwitchValue<'a>
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