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

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

Label a loop point, which can be reiterated with Continue, or broken out of with Break.

Trait Implementations

impl<P, E> Actionable<E> for Loop<P> where
    E: Environment,
    P: Actionable<(P, E)>,
    P: Scoped<S<E::Depth>>, 
[src]

type Action = <P as Actionable<(P, E)>>::Action

The next actual channel action: Send, Recv, Offer, Choose, or Split. This steps through Loop, Break, and Continue transparently. Read more

type Env = <P as Actionable<(P, E)>>::Env

The environment resulting from stepping through one or many Loop, Break, or Continue points to the next real channel action. 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: Hash> Hash for Loop<P>[src]

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: Session> Session for Loop<P>[src]

type Dual = Loop<P::Dual>

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

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

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

Auto Trait Implementations

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

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

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

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

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

Blanket Implementations

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

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

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

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

type Type = &'a mut T

The type of Self when called by Convention.

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

type Type = &'a T

The type of Self when called by Convention.

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

type Type = T

The type of Self when called by Convention.

impl<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized
[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.