pub struct Generator<'tree> {
pub span: Span,
pub arrow: GeneratorArrow,
pub expression: GeneratorExpression<'tree>,
pub pattern: GeneratorPattern<'tree>,
}Fields§
§span: Span§arrow: GeneratorArrow§expression: GeneratorExpression<'tree>§pattern: GeneratorPattern<'tree>Trait Implementations§
impl<'tree> Eq for Generator<'tree>
impl<'tree> StructuralPartialEq for Generator<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for Generator<'tree>
impl<'tree> RefUnwindSafe for Generator<'tree>
impl<'tree> Send for Generator<'tree>
impl<'tree> Sync for Generator<'tree>
impl<'tree> Unpin for Generator<'tree>
impl<'tree> UnsafeUnpin for Generator<'tree>
impl<'tree> UnwindSafe for Generator<'tree>
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