pub enum InOut<In, Out> {
Input(In),
Output(Out),
Empty,
}Variants§
Trait Implementations§
impl<In: Copy, Out: Copy> Copy for InOut<In, Out>
Auto Trait Implementations§
impl<In, Out> Freeze for InOut<In, Out>
impl<In, Out> RefUnwindSafe for InOut<In, Out>where
In: RefUnwindSafe,
Out: RefUnwindSafe,
impl<In, Out> Send for InOut<In, Out>
impl<In, Out> Sync for InOut<In, Out>
impl<In, Out> Unpin for InOut<In, Out>
impl<In, Out> UnsafeUnpin for InOut<In, Out>where
In: UnsafeUnpin,
Out: UnsafeUnpin,
impl<In, Out> UnwindSafe for InOut<In, Out>where
In: UnwindSafe,
Out: 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