Struct dialectic::types::Loop[][src]

#[repr(transparent)]pub struct Loop<P>(pub P);

Label a loop point, which can be reiterated with Continue.

Trait Implementations

impl<P> Actionable for Loop<P> where
    P: Subst<Loop<P>, Z>,
    P::Substituted: Actionable
[src]

type NextAction = <P::Substituted as Actionable>::NextAction

The next actual channel action, which must be one of Send, Recv, Offer, Choose, Split, Call, or Done. Read more

impl<P: Clone> Clone for Loop<P>[src]

impl<P: Copy> Copy for Loop<P>[src]

impl<P: Debug> Debug for Loop<P>[src]

impl<P: Default> Default for Loop<P>[src]

impl<P: Eq> Eq for Loop<P>[src]

impl<P> HasDual for Loop<P> where
    P: HasDual
[src]

type DualSession = Loop<<P as HasDual>::DualSession>

The dual to this session type, i.e. the session type required of the other end of the channel. Read more

impl<P: Hash> Hash for Loop<P>[src]

impl<N: Unary, Level: Unary, P> Lift<N, Level> for Loop<P> where
    P: Lift<N, S<Level>>, 
[src]

type Lifted = Loop<<P as Lift<N, S<Level>>>::Lifted>

The result of the lifting operation.

impl<P: Ord> Ord for Loop<P>[src]

impl<P: PartialEq> PartialEq<Loop<P>> for Loop<P>[src]

impl<P: PartialOrd> PartialOrd<Loop<P>> for Loop<P>[src]

impl<N: Unary, P: Scoped<S<N>>> Scoped<N> for Loop<P>[src]

impl<P> StructuralEq for Loop<P>[src]

impl<P> StructuralPartialEq for Loop<P>[src]

impl<P, Q, N: Unary> Subst<Q, N> for Loop<P> where
    P: Subst<Q, S<N>>, 
[src]

type Substituted = Loop<<P as Subst<Q, S<N>>>::Substituted>

The result of the substitution.

impl<P, Q, N: Unary> Then<Q, N> for Loop<P> where
    P: Then<Q, S<N>>, 
[src]

type Combined = Loop<<P as Then<Q, S<N>>>::Combined>

The combined type resulting from substituting P for Done in Self.

Auto Trait Implementations

impl<P> RefUnwindSafe for Loop<P> where
    P: RefUnwindSafe

impl<P> Send for Loop<P> where
    P: Send

impl<P> Sync for Loop<P> where
    P: Sync

impl<P> Unpin for Loop<P> where
    P: Unpin

impl<P> UnwindSafe for Loop<P> where
    P: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<'a, T, S> As<'a, Val, T> for S where
    S: Into<T>, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<'a, T> By<'a, Mut> for T where
    T: 'a, 
[src]

type Type = &'a mut T

The type of Self when called by Convention.

impl<'a, T> By<'a, Ref> for T where
    T: 'a, 
[src]

type Type = &'a T

The type of Self when called by Convention.

impl<'a, T> By<'a, Val> for T[src]

type Type = T

The type of Self when called by Convention.

impl<'a, T> Convert<'a, Mut, Mut> for T where
    T: 'a, 
[src]

impl<'a, T> Convert<'a, Mut, Ref> for T where
    T: 'a, 
[src]

impl<'a, T> Convert<'a, Mut, Val> for T where
    T: 'a + Clone
[src]

impl<'a, T> Convert<'a, Ref, Ref> for T where
    T: 'a, 
[src]

impl<'a, T> Convert<'a, Ref, Val> for T where
    T: 'a + Clone
[src]

impl<'a, T> Convert<'a, Val, Val> for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.