Tuple10

Enum Tuple10 

Source
pub enum Tuple10<T0: DafnyType, T1: DafnyType, T2: DafnyType, T3: DafnyType, T4: DafnyType, T5: DafnyType, T6: DafnyType, T7: DafnyType, T8: DafnyType, T9: DafnyType> {
    _T10 {
        _0: T0,
        _1: T1,
        _2: T2,
        _3: T3,
        _4: T4,
        _5: T5,
        _6: T6,
        _7: T7,
        _8: T8,
        _9: T9,
    },
}

Variants§

§

_T10

Fields

§_0: T0
§_1: T1
§_2: T2
§_3: T3
§_4: T4
§_5: T5
§_6: T6
§_7: T7
§_8: T8
§_9: T9

Implementations§

Source§

impl<T0: DafnyType, T1: DafnyType, T2: DafnyType, T3: DafnyType, T4: DafnyType, T5: DafnyType, T6: DafnyType, T7: DafnyType, T8: DafnyType, T9: DafnyType> Tuple10<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>

Source

pub fn _0(&self) -> &T0

Returns a borrow of the field _0

Source

pub fn _1(&self) -> &T1

Returns a borrow of the field _1

Source

pub fn _2(&self) -> &T2

Returns a borrow of the field _2

Source

pub fn _3(&self) -> &T3

Returns a borrow of the field _3

Source

pub fn _4(&self) -> &T4

Returns a borrow of the field _4

Source

pub fn _5(&self) -> &T5

Returns a borrow of the field _5

Source

pub fn _6(&self) -> &T6

Returns a borrow of the field _6

Source

pub fn _7(&self) -> &T7

Returns a borrow of the field _7

Source

pub fn _8(&self) -> &T8

Returns a borrow of the field _8

Source

pub fn _9(&self) -> &T9

Returns a borrow of the field _9

Source§

impl<T0: DafnyType, T1: DafnyType, T2: DafnyType, T3: DafnyType, T4: DafnyType, T5: DafnyType, T6: DafnyType, T7: DafnyType, T8: DafnyType, T9: DafnyType> Tuple10<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>

Source

pub fn coerce<__T0: DafnyType, __T1: DafnyType, __T2: DafnyType, __T3: DafnyType, __T4: DafnyType, __T5: DafnyType, __T6: DafnyType, __T7: DafnyType, __T8: DafnyType, __T9: 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>, f_3: Rc<impl Fn(T3) -> __T3 + 'static>, f_4: Rc<impl Fn(T4) -> __T4 + 'static>, f_5: Rc<impl Fn(T5) -> __T5 + 'static>, f_6: Rc<impl Fn(T6) -> __T6 + 'static>, f_7: Rc<impl Fn(T7) -> __T7 + 'static>, f_8: Rc<impl Fn(T8) -> __T8 + 'static>, f_9: Rc<impl Fn(T9) -> __T9 + 'static>, ) -> Rc<impl Fn(Tuple10<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>) -> Tuple10<__T0, __T1, __T2, __T3, __T4, __T5, __T6, __T7, __T8, __T9>>

Given type parameter conversions, returns a lambda to convert this structure

Trait Implementations§

Source§

impl<T0: DafnyType, T1: DafnyType, T2: DafnyType, T3: DafnyType, T4: DafnyType, T5: DafnyType, T6: DafnyType, T7: DafnyType, T8: DafnyType, T9: DafnyType> AsRef<Tuple10<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>> for Tuple10<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>

Source§

fn as_ref(&self) -> &Self

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl<T0: Clone + DafnyType, T1: Clone + DafnyType, T2: Clone + DafnyType, T3: Clone + DafnyType, T4: Clone + DafnyType, T5: Clone + DafnyType, T6: Clone + DafnyType, T7: Clone + DafnyType, T8: Clone + DafnyType, T9: Clone + DafnyType> Clone for Tuple10<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>

Source§

fn clone(&self) -> Tuple10<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<T0: DafnyType, T1: DafnyType, T2: DafnyType, T3: DafnyType, T4: DafnyType, T5: DafnyType, T6: DafnyType, T7: DafnyType, T8: DafnyType, T9: DafnyType> DafnyPrint for Tuple10<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>

Source§

fn fmt_print(&self, _formatter: &mut Formatter<'_>, _in_seq: bool) -> Result

Source§

fn is_char() -> bool

Source§

impl<T0: DafnyType, T1: DafnyType, T2: DafnyType, T3: DafnyType, T4: DafnyType, T5: DafnyType, T6: DafnyType, T7: DafnyType, T8: DafnyType, T9: DafnyType> Debug for Tuple10<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<T0: DafnyType + Hash, T1: DafnyType + Hash, T2: DafnyType + Hash, T3: DafnyType + Hash, T4: DafnyType + Hash, T5: DafnyType + Hash, T6: DafnyType + Hash, T7: DafnyType + Hash, T8: DafnyType + Hash, T9: DafnyType + Hash> Hash for Tuple10<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>

Source§

fn hash<_H: Hasher>(&self, _state: &mut _H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl<T0: DafnyType + Eq + Hash, T1: DafnyType + Eq + Hash, T2: DafnyType + Eq + Hash, T3: DafnyType + Eq + Hash, T4: DafnyType + Eq + Hash, T5: DafnyType + Eq + Hash, T6: DafnyType + Eq + Hash, T7: DafnyType + Eq + Hash, T8: DafnyType + Eq + Hash, T9: DafnyType + Eq + Hash> PartialEq for Tuple10<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>

Source§

fn eq(&self, other: &Self) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<T0: DafnyType + Eq + Hash, T1: DafnyType + Eq + Hash, T2: DafnyType + Eq + Hash, T3: DafnyType + Eq + Hash, T4: DafnyType + Eq + Hash, T5: DafnyType + Eq + Hash, T6: DafnyType + Eq + Hash, T7: DafnyType + Eq + Hash, T8: DafnyType + Eq + Hash, T9: DafnyType + Eq + Hash> Eq for Tuple10<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>

Auto Trait Implementations§

§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> Freeze for Tuple10<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>
where T0: Freeze, T1: Freeze, T2: Freeze, T3: Freeze, T4: Freeze, T5: Freeze, T6: Freeze, T7: Freeze, T8: Freeze, T9: Freeze,

§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> RefUnwindSafe for Tuple10<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>

§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> Send for Tuple10<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>
where T0: Send, T1: Send, T2: Send, T3: Send, T4: Send, T5: Send, T6: Send, T7: Send, T8: Send, T9: Send,

§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> Sync for Tuple10<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>
where T0: Sync, T1: Sync, T2: Sync, T3: Sync, T4: Sync, T5: Sync, T6: Sync, T7: Sync, T8: Sync, T9: Sync,

§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> Unpin for Tuple10<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>
where T0: Unpin, T1: Unpin, T2: Unpin, T3: Unpin, T4: Unpin, T5: Unpin, T6: Unpin, T7: Unpin, T8: Unpin, T9: Unpin,

§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> UnwindSafe for Tuple10<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> AnyRef for T
where T: 'static,

Source§

fn as_any_ref(&self) -> &(dyn Any + 'static)

Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> Upcast<T> for T
where T: ?Sized,

Source§

fn upcast(&self) -> Ptr<T>

Source§

impl<T> UpcastObject<T> for T
where T: ?Sized,

Source§

fn upcast(&self) -> Object<T>

Source§

impl<T> DafnyType for T
where T: Clone + DafnyPrint + 'static,

Source§

impl<T> DafnyTypeEq for T
where T: DafnyType + Hash + Eq,