Struct rustpython_ast::ModModule
source · pub struct ModModule<R = TextRange> {
pub range: OptionalRange<R>,
pub body: Vec<Stmt<R>>,
pub type_ignores: Vec<TypeIgnore<R>>,
}
Expand description
See also Module
Fields§
§range: OptionalRange<R>
§body: Vec<Stmt<R>>
§type_ignores: Vec<TypeIgnore<R>>
Trait Implementations§
source§impl<R: PartialEq> PartialEq for ModModule<R>
impl<R: PartialEq> PartialEq for ModModule<R>
impl<R> StructuralPartialEq for ModModule<R>
Auto Trait Implementations§
impl<R> Freeze for ModModule<R>
impl<R> RefUnwindSafe for ModModule<R>where
R: RefUnwindSafe,
impl<R> Send for ModModule<R>where
R: Send,
impl<R> Sync for ModModule<R>where
R: Sync,
impl<R> Unpin for ModModule<R>where
R: Unpin,
impl<R> UnwindSafe for ModModule<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