Struct rustpython_ast::StmtWith
source · pub struct StmtWith<R = TextRange> {
pub range: R,
pub items: Vec<WithItem<R>>,
pub body: Vec<Stmt<R>>,
pub type_comment: Option<String>,
}
Expand description
See also With
Fields§
§range: R
§items: Vec<WithItem<R>>
§body: Vec<Stmt<R>>
§type_comment: Option<String>
Trait Implementations§
source§impl<R: PartialEq> PartialEq for StmtWith<R>
impl<R: PartialEq> PartialEq for StmtWith<R>
impl<R> StructuralPartialEq for StmtWith<R>
Auto Trait Implementations§
impl<R> Freeze for StmtWith<R>where
R: Freeze,
impl<R> RefUnwindSafe for StmtWith<R>where
R: RefUnwindSafe,
impl<R> Send for StmtWith<R>where
R: Send,
impl<R> Sync for StmtWith<R>where
R: Sync,
impl<R> Unpin for StmtWith<R>where
R: Unpin,
impl<R> UnwindSafe for StmtWith<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