Struct rustpython_ast::ExprBoolOp
source · pub struct ExprBoolOp<R = TextRange> {
pub range: R,
pub op: BoolOp,
pub values: Vec<Expr<R>>,
}
Expand description
See also BoolOp
Fields§
§range: R
§op: BoolOp
§values: Vec<Expr<R>>
Trait Implementations§
source§impl<R: Clone> Clone for ExprBoolOp<R>
impl<R: Clone> Clone for ExprBoolOp<R>
source§fn clone(&self) -> ExprBoolOp<R>
fn clone(&self) -> ExprBoolOp<R>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<R: Debug> Debug for ExprBoolOp<R>
impl<R: Debug> Debug for ExprBoolOp<R>
source§impl<T, U> Foldable<T, U> for ExprBoolOp<T>
impl<T, U> Foldable<T, U> for ExprBoolOp<T>
source§impl<R> From<ExprBoolOp<R>> for Ast<R>
impl<R> From<ExprBoolOp<R>> for Ast<R>
source§fn from(payload: ExprBoolOp<R>) -> Self
fn from(payload: ExprBoolOp<R>) -> Self
Converts to this type from the input type.
source§impl<R> From<ExprBoolOp<R>> for Expr<R>
impl<R> From<ExprBoolOp<R>> for Expr<R>
source§fn from(payload: ExprBoolOp<R>) -> Self
fn from(payload: ExprBoolOp<R>) -> Self
Converts to this type from the input type.
source§impl<R> Node for ExprBoolOp<R>
impl<R> Node for ExprBoolOp<R>
source§impl<R: PartialEq> PartialEq for ExprBoolOp<R>
impl<R: PartialEq> PartialEq for ExprBoolOp<R>
source§fn eq(&self, other: &ExprBoolOp<R>) -> bool
fn eq(&self, other: &ExprBoolOp<R>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl Ranged for ExprBoolOp<TextRange>
impl Ranged for ExprBoolOp<TextRange>
impl<R> StructuralPartialEq for ExprBoolOp<R>
Auto Trait Implementations§
impl<R> Freeze for ExprBoolOp<R>where
R: Freeze,
impl<R> RefUnwindSafe for ExprBoolOp<R>where
R: RefUnwindSafe,
impl<R> Send for ExprBoolOp<R>where
R: Send,
impl<R> Sync for ExprBoolOp<R>where
R: Sync,
impl<R> Unpin for ExprBoolOp<R>where
R: Unpin,
impl<R> UnwindSafe for ExprBoolOp<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