Struct rustpython_vm::protocol::VecBuffer
source · pub struct VecBuffer { /* private fields */ }
Implementations§
Trait Implementations§
source§impl MaybeTraverse for VecBuffer
impl MaybeTraverse for VecBuffer
fn try_traverse(&self, tracer_fn: &mut TraverseFn<'_>)
source§impl PyClassDef for VecBuffer
impl PyClassDef for VecBuffer
source§impl PyClassImpl for VecBuffer
impl PyClassImpl for VecBuffer
const TP_FLAGS: PyTypeFlags = _
fn impl_extend_class(ctx: &Context, class: &'static Py<PyType>)
const METHOD_DEFS: &'static [PyMethodDef] = _
fn extend_slots(slots: &mut PyTypeSlots)
fn extend_class(ctx: &Context, class: &'static Py<PyType>)
fn make_class(ctx: &Context) -> PyTypeRefwhere
Self: StaticType,
fn make_slots() -> PyTypeSlots
source§impl PyPayload for VecBuffer
impl PyPayload for VecBuffer
fn class(_ctx: &Context) -> &'static Py<PyType>
fn into_pyobject(self, vm: &VirtualMachine) -> PyObjectRef
fn _into_ref(self, cls: PyTypeRef, ctx: &Context) -> PyRef<Self>
fn into_exact_ref(self, ctx: &Context) -> PyRefExact<Self>
fn into_ref(self, ctx: &Context) -> PyRef<Self>
fn into_ref_with_type( self, vm: &VirtualMachine, cls: PyTypeRef ) -> PyResult<PyRef<Self>>
source§impl StaticType for VecBuffer
impl StaticType for VecBuffer
fn static_cell() -> &'static StaticCell<PyTypeRef>
fn static_metaclass() -> &'static Py<PyType>
fn static_baseclass() -> &'static Py<PyType>
fn static_type() -> &'static Py<PyType>
fn init_manually(typ: PyTypeRef) -> &'static Py<PyType>
fn init_builtin_type() -> &'static Py<PyType>where
Self: PyClassImpl,
fn create_static_type() -> PyTypeRefwhere
Self: PyClassImpl,
impl Unconstructible for VecBuffer
Auto Trait Implementations§
impl !Freeze for VecBuffer
impl !RefUnwindSafe for VecBuffer
impl Send for VecBuffer
impl !Sync for VecBuffer
impl Unpin for VecBuffer
impl UnwindSafe for VecBuffer
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