pub enum GenCompletion {
Normal(Value),
Throw(Value),
Return(Value),
}Expand description
Generator の完了・再開種別。
Variants§
Trait Implementations§
Source§impl Clone for GenCompletion
impl Clone for GenCompletion
Source§fn clone(&self) -> GenCompletion
fn clone(&self) -> GenCompletion
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for GenCompletion
impl !Send for GenCompletion
impl !Sync for GenCompletion
impl !UnwindSafe for GenCompletion
impl Freeze for GenCompletion
impl Unpin for GenCompletion
impl UnsafeUnpin for GenCompletion
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