pub enum Tuple3<T0: DafnyType, T1: DafnyType, T2: DafnyType> {
_T3 {
_0: T0,
_1: T1,
_2: T2,
},
}Variants§
Implementations§
Source§impl<T0: DafnyType, T1: DafnyType, T2: DafnyType> Tuple3<T0, T1, T2>
impl<T0: DafnyType, T1: DafnyType, T2: DafnyType> Tuple3<T0, T1, T2>
Sourcepub fn coerce<__T0: DafnyType, __T1: DafnyType, __T2: DafnyType>(
f_0: Rc<impl Fn(T0) -> __T0 + 'static>,
f_1: Rc<impl Fn(T1) -> __T1 + 'static>,
f_2: Rc<impl Fn(T2) -> __T2 + 'static>,
) -> Rc<impl Fn(Tuple3<T0, T1, T2>) -> Tuple3<__T0, __T1, __T2>>
pub fn coerce<__T0: DafnyType, __T1: DafnyType, __T2: DafnyType>( f_0: Rc<impl Fn(T0) -> __T0 + 'static>, f_1: Rc<impl Fn(T1) -> __T1 + 'static>, f_2: Rc<impl Fn(T2) -> __T2 + 'static>, ) -> Rc<impl Fn(Tuple3<T0, T1, T2>) -> Tuple3<__T0, __T1, __T2>>
Given type parameter conversions, returns a lambda to convert this structure
Trait Implementations§
Source§impl<T0: DafnyType, T1: DafnyType, T2: DafnyType> AsRef<Tuple3<T0, T1, T2>> for Tuple3<T0, T1, T2>
impl<T0: DafnyType, T1: DafnyType, T2: DafnyType> AsRef<Tuple3<T0, T1, T2>> for Tuple3<T0, T1, T2>
Source§impl<T0: Clone + DafnyType, T1: Clone + DafnyType, T2: Clone + DafnyType> Clone for Tuple3<T0, T1, T2>
impl<T0: Clone + DafnyType, T1: Clone + DafnyType, T2: Clone + DafnyType> Clone for Tuple3<T0, T1, T2>
Source§impl<T0: DafnyType + Hash, T1: DafnyType + Hash, T2: DafnyType + Hash> Hash for Tuple3<T0, T1, T2>
impl<T0: DafnyType + Hash, T1: DafnyType + Hash, T2: DafnyType + Hash> Hash for Tuple3<T0, T1, T2>
Source§impl<T0: DafnyType + Eq + Hash, T1: DafnyType + Eq + Hash, T2: DafnyType + Eq + Hash> PartialEq for Tuple3<T0, T1, T2>
impl<T0: DafnyType + Eq + Hash, T1: DafnyType + Eq + Hash, T2: DafnyType + Eq + Hash> PartialEq for Tuple3<T0, T1, T2>
impl<T0: DafnyType + Eq + Hash, T1: DafnyType + Eq + Hash, T2: DafnyType + Eq + Hash> Eq for Tuple3<T0, T1, T2>
Auto Trait Implementations§
impl<T0, T1, T2> Freeze for Tuple3<T0, T1, T2>
impl<T0, T1, T2> RefUnwindSafe for Tuple3<T0, T1, T2>
impl<T0, T1, T2> Send for Tuple3<T0, T1, T2>
impl<T0, T1, T2> Sync for Tuple3<T0, T1, T2>
impl<T0, T1, T2> Unpin for Tuple3<T0, T1, T2>
impl<T0, T1, T2> UnwindSafe for Tuple3<T0, T1, T2>
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