pub struct Choice<C1, C2> { /* private fields */ }Expand description
See Pattern::or
Trait Implementations§
Source§impl<P1, P2> Pattern for Choice<P1, P2>
impl<P1, P2> Pattern for Choice<P1, P2>
impl<C1: Copy, C2: Copy> Copy for Choice<C1, C2>
Auto Trait Implementations§
impl<C1, C2> Freeze for Choice<C1, C2>
impl<C1, C2> RefUnwindSafe for Choice<C1, C2>where
C1: RefUnwindSafe,
C2: RefUnwindSafe,
impl<C1, C2> Send for Choice<C1, C2>
impl<C1, C2> Sync for Choice<C1, C2>
impl<C1, C2> Unpin for Choice<C1, C2>
impl<C1, C2> UnwindSafe for Choice<C1, C2>where
C1: UnwindSafe,
C2: UnwindSafe,
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