pub struct PythonManagedObject {
pub kind: PythonManagedKind,
pub edges: Vec<ManagedId>,
}Expand description
Cyclic mutable Python payload held exclusively in the shared managed arena.
Fields§
§kind: PythonManagedKindLanguage-visible allocation role; collection does not special-case it.
edges: Vec<ManagedId>Strong links to other Python objects.
Trait Implementations§
Source§impl Clone for PythonManagedObject
impl Clone for PythonManagedObject
Source§fn clone(&self) -> PythonManagedObject
fn clone(&self) -> PythonManagedObject
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PythonManagedObject
impl Debug for PythonManagedObject
Source§impl Default for PythonManagedObject
impl Default for PythonManagedObject
Source§fn default() -> PythonManagedObject
fn default() -> PythonManagedObject
Returns the “default value” for a type. Read more
Source§impl ManagedObject for PythonManagedObject
impl ManagedObject for PythonManagedObject
Source§fn trace_edges(&self, visitor: &mut dyn EdgeVisitor)
fn trace_edges(&self, visitor: &mut dyn EdgeVisitor)
Enumerates all strong, weak, and ephemeron edges exactly once.
Auto Trait Implementations§
impl Freeze for PythonManagedObject
impl RefUnwindSafe for PythonManagedObject
impl Send for PythonManagedObject
impl Sync for PythonManagedObject
impl Unpin for PythonManagedObject
impl UnsafeUnpin for PythonManagedObject
impl UnwindSafe for PythonManagedObject
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