pub struct PyFrame(/* private fields */);
Expand description
Represents a Python frame.
Values of this type are accessed via PyO3’s smart pointers, e.g. as
Py<PyFrame>
or Bound<'py, PyFrame>
.
Trait Implementations§
Source§impl AsPyPointer for PyFrame
impl AsPyPointer for PyFrame
Source§impl PyTypeInfo for PyFrame
impl PyTypeInfo for PyFrame
Source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.
Source§fn is_type_of_bound(obj: &Bound<'_, PyAny>) -> bool
fn is_type_of_bound(obj: &Bound<'_, PyAny>) -> bool
Checks if
object
is an instance of this type or a subclass of this type.impl DerefToPyAny for PyFrame
Auto Trait Implementations§
impl !Freeze for PyFrame
impl !RefUnwindSafe for PyFrame
impl !Send for PyFrame
impl !Sync for PyFrame
impl Unpin for PyFrame
impl UnwindSafe for PyFrame
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