pub enum PythonManagedKind {
Instance,
Closure,
Frame,
Exception,
Container,
}Expand description
Language-visible role of a managed Python allocation.
Variants§
Instance
An instance or class object.
Closure
A closure environment.
Frame
A suspended or executing frame.
Exception
An exception, traceback, or exception group.
Container
A mutable container.
Trait Implementations§
Source§impl Clone for PythonManagedKind
impl Clone for PythonManagedKind
Source§fn clone(&self) -> PythonManagedKind
fn clone(&self) -> PythonManagedKind
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 moreimpl Copy for PythonManagedKind
Source§impl Debug for PythonManagedKind
impl Debug for PythonManagedKind
Source§impl Default for PythonManagedKind
impl Default for PythonManagedKind
Source§fn default() -> PythonManagedKind
fn default() -> PythonManagedKind
Returns the “default value” for a type. Read more
impl Eq for PythonManagedKind
Source§impl PartialEq for PythonManagedKind
impl PartialEq for PythonManagedKind
impl StructuralPartialEq for PythonManagedKind
Auto Trait Implementations§
impl Freeze for PythonManagedKind
impl RefUnwindSafe for PythonManagedKind
impl Send for PythonManagedKind
impl Sync for PythonManagedKind
impl Unpin for PythonManagedKind
impl UnsafeUnpin for PythonManagedKind
impl UnwindSafe for PythonManagedKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.