pub struct Tuple3Witness;Expand description
Tuple3Witness acts as a witness for the (A, B, C) type constructor.
Trait Implementations§
Source§impl HKT3Unbound for Tuple3Witness
impl HKT3Unbound for Tuple3Witness
type Constraint = NoConstraint
type Type<A, B, C> = (A, B, C)
Source§impl Promonad<Tuple3Witness> for Tuple3Witness
impl Promonad<Tuple3Witness> for Tuple3Witness
Source§fn fuse<A, B, C>(_input_a: A, _input_b: B) -> (A, B, C)
fn fuse<A, B, C>(_input_a: A, _input_b: B) -> (A, B, C)
§Panics
This method always panics. For a tuple (A, B, C), “fusion” without a merge
function isn’t well-defined because we cannot produce a C from just A and B.
Promonad::fuse is designed for types like Interaction<A, B, C> where the
third parameter represents an output that can be derived from the fusion process.
For a plain tuple, this operation is not meaningful.
Auto Trait Implementations§
impl Freeze for Tuple3Witness
impl RefUnwindSafe for Tuple3Witness
impl Send for Tuple3Witness
impl Sync for Tuple3Witness
impl Unpin for Tuple3Witness
impl UnwindSafe for Tuple3Witness
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