pub struct RawModule {
pub body: Vec<Statement>,
pub type_ignores: Vec<Type>,
}
Expand description
Represents a module as imported from an ast. See the Module struct for the processed module.
Fields§
§body: Vec<Statement>
§type_ignores: Vec<Type>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RawModule
impl<'de> Deserialize<'de> for RawModule
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<'py> FromPyObject<'py> for RawModule
impl<'py> FromPyObject<'py> for RawModule
Auto Trait Implementations§
impl Freeze for RawModule
impl RefUnwindSafe for RawModule
impl Send for RawModule
impl Sync for RawModule
impl Unpin for RawModule
impl UnwindSafe for RawModule
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