pub struct PyVar {
pub locals: Py<PyDict>,
}
Expand description
Represents Python variables and their values.
Fields§
§locals: Py<PyDict>
Stores local Python variables.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PyVar
impl !RefUnwindSafe for PyVar
impl Send for PyVar
impl Sync for PyVar
impl Unpin for PyVar
impl UnwindSafe for PyVar
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