pub enum CoroutineLane {
First,
Second,
}Expand description
Identifies which of a coroutine’s two cooperating lanes yielded a value.
Variants§
Trait Implementations§
Source§impl Clone for CoroutineLane
impl Clone for CoroutineLane
Source§fn clone(&self) -> CoroutineLane
fn clone(&self) -> CoroutineLane
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CoroutineLane
Source§impl Debug for CoroutineLane
impl Debug for CoroutineLane
impl Eq for CoroutineLane
Source§impl PartialEq for CoroutineLane
impl PartialEq for CoroutineLane
Source§fn eq(&self, other: &CoroutineLane) -> bool
fn eq(&self, other: &CoroutineLane) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CoroutineLane
Auto Trait Implementations§
impl Freeze for CoroutineLane
impl RefUnwindSafe for CoroutineLane
impl Send for CoroutineLane
impl Sync for CoroutineLane
impl Unpin for CoroutineLane
impl UnsafeUnpin for CoroutineLane
impl UnwindSafe for CoroutineLane
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