pub enum MaybeSplit<A, B> {
Just(B),
Split(A, B),
}Variants§
Implementations§
Auto Trait Implementations§
impl<A, B> Freeze for MaybeSplit<A, B>
impl<A, B> RefUnwindSafe for MaybeSplit<A, B>where
B: RefUnwindSafe,
A: RefUnwindSafe,
impl<A, B> Send for MaybeSplit<A, B>
impl<A, B> Sync for MaybeSplit<A, B>
impl<A, B> Unpin for MaybeSplit<A, B>
impl<A, B> UnwindSafe for MaybeSplit<A, B>where
B: UnwindSafe,
A: 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