pub enum ThreeWays<ONE, TWO, THREE> {
One(ONE),
Two(TWO),
Three(THREE),
}Expand description
ThreeWays is used to implement traits that based on three ways.
Users can wrap three different trait types together.
Variants§
One(ONE)
The first type for the ThreeWays.
Two(TWO)
The second type for the ThreeWays.
Three(THREE)
The third type for the ThreeWays.
Trait Implementations§
Auto Trait Implementations§
impl<ONE, TWO, THREE> Freeze for ThreeWays<ONE, TWO, THREE>
impl<ONE, TWO, THREE> RefUnwindSafe for ThreeWays<ONE, TWO, THREE>
impl<ONE, TWO, THREE> Send for ThreeWays<ONE, TWO, THREE>
impl<ONE, TWO, THREE> Sync for ThreeWays<ONE, TWO, THREE>
impl<ONE, TWO, THREE> Unpin for ThreeWays<ONE, TWO, THREE>
impl<ONE, TWO, THREE> UnwindSafe for ThreeWays<ONE, TWO, THREE>
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