Struct rustpython_ast::ExprYield
source · pub struct ExprYield<R = TextRange> {
pub range: R,
pub value: Option<Box<Expr<R>>>,
}
Expand description
See also Yield
Fields§
§range: R
§value: Option<Box<Expr<R>>>
Trait Implementations§
source§impl<R: PartialEq> PartialEq for ExprYield<R>
impl<R: PartialEq> PartialEq for ExprYield<R>
impl<R> StructuralPartialEq for ExprYield<R>
Auto Trait Implementations§
impl<R> Freeze for ExprYield<R>where
R: Freeze,
impl<R> RefUnwindSafe for ExprYield<R>where
R: RefUnwindSafe,
impl<R> Send for ExprYield<R>where
R: Send,
impl<R> Sync for ExprYield<R>where
R: Sync,
impl<R> Unpin for ExprYield<R>where
R: Unpin,
impl<R> UnwindSafe for ExprYield<R>where
R: UnwindSafe,
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