[][src]Struct rustpython_parser::ast::Comprehension

pub struct Comprehension {
    pub location: Location,
    pub target: Expression,
    pub iter: Expression,
    pub ifs: Vec<Expression>,
    pub is_async: bool,
}

A list/set/dict/generator compression.

Fields

location: Locationtarget: Expressioniter: Expressionifs: Vec<Expression>is_async: bool

Trait Implementations

impl Debug for Comprehension[src]

impl PartialEq<Comprehension> for Comprehension[src]

impl StructuralPartialEq for Comprehension[src]

Auto Trait Implementations

impl RefUnwindSafe for Comprehension

impl Send for Comprehension

impl Sync for Comprehension

impl Unpin for Comprehension

impl UnwindSafe for Comprehension

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.