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