Skip to main content

PythonHeap

Type Alias PythonHeap 

Source
pub type PythonHeap = ManagedHeap<PythonManagedObject>;
Expand description

Compatibility name for the shared managed heap instantiated for Python.

Aliased Type§

pub struct PythonHeap { /* private fields */ }

Trait Implementations§

Source§

impl PythonHeapExt for PythonHeap

Source§

fn connect( &mut self, from: ManagedHandle, to: ManagedHandle, ) -> Result<EdgeId, PythonManagedMutationError>

Adds a checked strong edge and returns its stable edge identity.
Source§

fn connect_weak( &mut self, from: ManagedHandle, to: ManagedHandle, ) -> Result<EdgeId, PythonManagedMutationError>

Adds a checked weak edge and returns its stable edge identity.
Source§

fn connect_ephemeron( &mut self, from: ManagedHandle, key: ManagedHandle, value: ManagedHandle, ) -> Result<EdgeId, PythonManagedMutationError>

Adds a checked ephemeron and returns its stable edge identity.