Struct ragged_buffer::monomorphs::RaggedBufferI64
source · [−]pub struct RaggedBufferI64(pub RaggedBufferView<i64>);Tuple Fields
0: RaggedBufferView<i64>Implementations
Trait Implementations
sourceimpl Clone for RaggedBufferI64
impl Clone for RaggedBufferI64
sourcefn clone(&self) -> RaggedBufferI64
fn clone(&self) -> RaggedBufferI64
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl IntoPy<Py<PyAny>> for RaggedBufferI64
impl IntoPy<Py<PyAny>> for RaggedBufferI64
sourceimpl PyClass for RaggedBufferI64
impl PyClass for RaggedBufferI64
type Dict = PyClassDummySlot
type Dict = PyClassDummySlot
Specify this class has #[pyclass(dict)] or not.
type WeakRef = PyClassDummySlot
type WeakRef = PyClassDummySlot
Specify this class has #[pyclass(weakref)] or not.
type BaseNativeType = PyAny
type BaseNativeType = PyAny
The closest native ancestor. This is PyAny by default, and when you declare
#[pyclass(extends=PyDict)], it’s PyDict. Read more
sourceimpl PyClassDescriptors<RaggedBufferI64> for PyClassImplCollector<RaggedBufferI64>
impl PyClassDescriptors<RaggedBufferI64> for PyClassImplCollector<RaggedBufferI64>
fn py_class_descriptors(self) -> &'static [PyMethodDefType]
sourceimpl PyClassImpl for RaggedBufferI64
impl PyClassImpl for RaggedBufferI64
sourceconst IS_BASETYPE: bool
const IS_BASETYPE: bool
#[pyclass(subclass)]
sourceconst IS_SUBCLASS: bool
const IS_SUBCLASS: bool
#[pyclass(extends=…)]
type ThreadChecker = ThreadCheckerStub<RaggedBufferI64>
type ThreadChecker = ThreadCheckerStub<RaggedBufferI64>
This handles following two situations: Read more
fn for_each_method_def(visitor: &mut dyn FnMut(&[PyMethodDefType]))
fn get_new() -> Option<newfunc>
fn get_alloc() -> Option<allocfunc>
fn get_free() -> Option<freefunc>
fn for_each_proto_slot(visitor: &mut dyn FnMut(&[PyType_Slot]))
fn get_buffer() -> Option<&'static PyBufferProcs>
sourceimpl PyClassNewImpl<RaggedBufferI64> for PyClassImplCollector<RaggedBufferI64>
impl PyClassNewImpl<RaggedBufferI64> for PyClassImplCollector<RaggedBufferI64>
sourceimpl<'p> PyMappingGetItemProtocol<'p> for RaggedBufferI64
impl<'p> PyMappingGetItemProtocol<'p> for RaggedBufferI64
type Key = MultiIndex<'p>
type Result = PyResult<RaggedBufferI64>
sourceimpl<'p> PyMappingLenProtocol<'p> for RaggedBufferI64
impl<'p> PyMappingLenProtocol<'p> for RaggedBufferI64
sourceimpl<'p> PyMappingProtocol<'p> for RaggedBufferI64
impl<'p> PyMappingProtocol<'p> for RaggedBufferI64
fn __getitem__(
&'p self,
index: <RaggedBufferI64 as PyMappingGetItemProtocol<'p>>::Key
) -> <RaggedBufferI64 as PyMappingGetItemProtocol<'p>>::Result
fn __len__(&'p self) -> <RaggedBufferI64 as PyMappingLenProtocol<'p>>::Result
fn __setitem__(&'p mut self, key: Self::Key, value: Self::Value) -> Self::Result where
Self: PyMappingSetItemProtocol<'p>,
fn __delitem__(&'p mut self, key: Self::Key) -> Self::Result where
Self: PyMappingDelItemProtocol<'p>,
sourcefn __reversed__(&'p self) -> Self::Result where
Self: PyMappingReversedProtocol<'p>,
fn __reversed__(&'p self) -> Self::Result where
Self: PyMappingReversedProtocol<'p>,
prefer implementing __reversed__ in #[pymethods] instead of in a protocol
sourceimpl PyMappingProtocolSlots<RaggedBufferI64> for PyClassImplCollector<RaggedBufferI64>
impl PyMappingProtocolSlots<RaggedBufferI64> for PyClassImplCollector<RaggedBufferI64>
fn mapping_protocol_slots(self) -> &'static [PyType_Slot]
sourceimpl PyMethods<RaggedBufferI64> for PyClassImplCollector<RaggedBufferI64>
impl PyMethods<RaggedBufferI64> for PyClassImplCollector<RaggedBufferI64>
fn py_methods(self) -> &'static [PyMethodDefType]
sourceimpl PyMethodsProtocolSlots<RaggedBufferI64> for PyClassImplCollector<RaggedBufferI64>
impl PyMethodsProtocolSlots<RaggedBufferI64> for PyClassImplCollector<RaggedBufferI64>
fn methods_protocol_slots(self) -> &'static [PyType_Slot]
sourceimpl<'p> PyNumberAddProtocol<'p> for RaggedBufferI64
impl<'p> PyNumberAddProtocol<'p> for RaggedBufferI64
sourceimpl<'p> PyNumberISubProtocol<'p> for RaggedBufferI64
impl<'p> PyNumberISubProtocol<'p> for RaggedBufferI64
type Other = RaggedBufferI64
type Result = PyResult<()>
sourceimpl<'p> PyNumberMulProtocol<'p> for RaggedBufferI64
impl<'p> PyNumberMulProtocol<'p> for RaggedBufferI64
sourceimpl<'p> PyNumberProtocol<'p> for RaggedBufferI64
impl<'p> PyNumberProtocol<'p> for RaggedBufferI64
fn __add__(
lhs: <RaggedBufferI64 as PyNumberAddProtocol<'p>>::Left,
rhs: <RaggedBufferI64 as PyNumberAddProtocol<'p>>::Right
) -> <RaggedBufferI64 as PyNumberAddProtocol<'p>>::Result
fn __mul__(
lhs: <RaggedBufferI64 as PyNumberMulProtocol<'p>>::Left,
rhs: <RaggedBufferI64 as PyNumberMulProtocol<'p>>::Right
) -> <RaggedBufferI64 as PyNumberMulProtocol<'p>>::Result
fn __isub__(
&'p mut self,
rhs: <RaggedBufferI64 as PyNumberISubProtocol<'p>>::Other
) -> <RaggedBufferI64 as PyNumberISubProtocol<'p>>::Result
fn __sub__(lhs: Self::Left, rhs: Self::Right) -> Self::Result where
Self: PyNumberSubProtocol<'p>,
fn __matmul__(lhs: Self::Left, rhs: Self::Right) -> Self::Result where
Self: PyNumberMatmulProtocol<'p>,
fn __truediv__(lhs: Self::Left, rhs: Self::Right) -> Self::Result where
Self: PyNumberTruedivProtocol<'p>,
fn __floordiv__(lhs: Self::Left, rhs: Self::Right) -> Self::Result where
Self: PyNumberFloordivProtocol<'p>,
fn __mod__(lhs: Self::Left, rhs: Self::Right) -> Self::Result where
Self: PyNumberModProtocol<'p>,
fn __divmod__(lhs: Self::Left, rhs: Self::Right) -> Self::Result where
Self: PyNumberDivmodProtocol<'p>,
fn __pow__(
lhs: Self::Left,
rhs: Self::Right,
modulo: Option<Self::Modulo>
) -> Self::Result where
Self: PyNumberPowProtocol<'p>,
fn __lshift__(lhs: Self::Left, rhs: Self::Right) -> Self::Result where
Self: PyNumberLShiftProtocol<'p>,
fn __rshift__(lhs: Self::Left, rhs: Self::Right) -> Self::Result where
Self: PyNumberRShiftProtocol<'p>,
fn __and__(lhs: Self::Left, rhs: Self::Right) -> Self::Result where
Self: PyNumberAndProtocol<'p>,
fn __xor__(lhs: Self::Left, rhs: Self::Right) -> Self::Result where
Self: PyNumberXorProtocol<'p>,
fn __or__(lhs: Self::Left, rhs: Self::Right) -> Self::Result where
Self: PyNumberOrProtocol<'p>,
fn __radd__(&'p self, other: Self::Other) -> Self::Result where
Self: PyNumberRAddProtocol<'p>,
fn __rsub__(&'p self, other: Self::Other) -> Self::Result where
Self: PyNumberRSubProtocol<'p>,
fn __rmul__(&'p self, other: Self::Other) -> Self::Result where
Self: PyNumberRMulProtocol<'p>,
fn __rmatmul__(&'p self, other: Self::Other) -> Self::Result where
Self: PyNumberRMatmulProtocol<'p>,
fn __rtruediv__(&'p self, other: Self::Other) -> Self::Result where
Self: PyNumberRTruedivProtocol<'p>,
fn __rfloordiv__(&'p self, other: Self::Other) -> Self::Result where
Self: PyNumberRFloordivProtocol<'p>,
fn __rmod__(&'p self, other: Self::Other) -> Self::Result where
Self: PyNumberRModProtocol<'p>,
fn __rdivmod__(&'p self, other: Self::Other) -> Self::Result where
Self: PyNumberRDivmodProtocol<'p>,
fn __rpow__(
&'p self,
other: Self::Other,
modulo: Option<Self::Modulo>
) -> Self::Result where
Self: PyNumberRPowProtocol<'p>,
fn __rlshift__(&'p self, other: Self::Other) -> Self::Result where
Self: PyNumberRLShiftProtocol<'p>,
fn __rrshift__(&'p self, other: Self::Other) -> Self::Result where
Self: PyNumberRRShiftProtocol<'p>,
fn __rand__(&'p self, other: Self::Other) -> Self::Result where
Self: PyNumberRAndProtocol<'p>,
fn __rxor__(&'p self, other: Self::Other) -> Self::Result where
Self: PyNumberRXorProtocol<'p>,
fn __ror__(&'p self, other: Self::Other) -> Self::Result where
Self: PyNumberROrProtocol<'p>,
fn __iadd__(&'p mut self, other: Self::Other) -> Self::Result where
Self: PyNumberIAddProtocol<'p>,
fn __imul__(&'p mut self, other: Self::Other) -> Self::Result where
Self: PyNumberIMulProtocol<'p>,
fn __imatmul__(&'p mut self, other: Self::Other) -> Self::Result where
Self: PyNumberIMatmulProtocol<'p>,
fn __itruediv__(&'p mut self, other: Self::Other) -> Self::Result where
Self: PyNumberITruedivProtocol<'p>,
fn __ifloordiv__(&'p mut self, other: Self::Other) -> Self::Result where
Self: PyNumberIFloordivProtocol<'p>,
fn __imod__(&'p mut self, other: Self::Other) -> Self::Result where
Self: PyNumberIModProtocol<'p>,
fn __ipow__(&'p mut self, other: Self::Other) -> Self::Result where
Self: PyNumberIPowProtocol<'p>,
fn __ilshift__(&'p mut self, other: Self::Other) -> Self::Result where
Self: PyNumberILShiftProtocol<'p>,
fn __irshift__(&'p mut self, other: Self::Other) -> Self::Result where
Self: PyNumberIRShiftProtocol<'p>,
fn __iand__(&'p mut self, other: Self::Other) -> Self::Result where
Self: PyNumberIAndProtocol<'p>,
fn __ixor__(&'p mut self, other: Self::Other) -> Self::Result where
Self: PyNumberIXorProtocol<'p>,
fn __ior__(&'p mut self, other: Self::Other) -> Self::Result where
Self: PyNumberIOrProtocol<'p>,
fn __neg__(&'p self) -> Self::Result where
Self: PyNumberNegProtocol<'p>,
fn __pos__(&'p self) -> Self::Result where
Self: PyNumberPosProtocol<'p>,
fn __abs__(&'p self) -> Self::Result where
Self: PyNumberAbsProtocol<'p>,
fn __invert__(&'p self) -> Self::Result where
Self: PyNumberInvertProtocol<'p>,
sourcefn __complex__(&'p self) -> Self::Result where
Self: PyNumberComplexProtocol<'p>,
fn __complex__(&'p self) -> Self::Result where
Self: PyNumberComplexProtocol<'p>,
prefer implementing __complex__ in #[pymethods] instead of in a protocol
fn __int__(&'p self) -> Self::Result where
Self: PyNumberIntProtocol<'p>,
fn __float__(&'p self) -> Self::Result where
Self: PyNumberFloatProtocol<'p>,
fn __index__(&'p self) -> Self::Result where
Self: PyNumberIndexProtocol<'p>,
sourceimpl PyNumberProtocolSlots<RaggedBufferI64> for PyClassImplCollector<RaggedBufferI64>
impl PyNumberProtocolSlots<RaggedBufferI64> for PyClassImplCollector<RaggedBufferI64>
fn number_protocol_slots(self) -> &'static [PyType_Slot]
sourceimpl<'p> PyObjectProtocol<'p> for RaggedBufferI64
impl<'p> PyObjectProtocol<'p> for RaggedBufferI64
fn __str__(&'p self) -> <RaggedBufferI64 as PyObjectStrProtocol<'p>>::Result
fn __repr__(&'p self) -> <RaggedBufferI64 as PyObjectReprProtocol<'p>>::Result
fn __richcmp__(
&'p self,
other: <RaggedBufferI64 as PyObjectRichcmpProtocol<'p>>::Other,
op: CompareOp
) -> <RaggedBufferI64 as PyObjectRichcmpProtocol<'p>>::Result
fn __getattr__(&'p self, name: Self::Name) -> Self::Result where
Self: PyObjectGetAttrProtocol<'p>,
fn __setattr__(
&'p mut self,
name: Self::Name,
value: Self::Value
) -> Self::Result where
Self: PyObjectSetAttrProtocol<'p>,
fn __delattr__(&'p mut self, name: Self::Name) -> Self::Result where
Self: PyObjectDelAttrProtocol<'p>,
sourcefn __format__(&'p self, format_spec: Self::Format) -> Self::Result where
Self: PyObjectFormatProtocol<'p>,
fn __format__(&'p self, format_spec: Self::Format) -> Self::Result where
Self: PyObjectFormatProtocol<'p>,
prefer implementing __format__ in #[pymethods] instead of in a protocol
fn __hash__(&'p self) -> Self::Result where
Self: PyObjectHashProtocol<'p>,
sourcefn __bytes__(&'p self) -> Self::Result where
Self: PyObjectBytesProtocol<'p>,
fn __bytes__(&'p self) -> Self::Result where
Self: PyObjectBytesProtocol<'p>,
prefer implementing __bytes__ in #[pymethods] instead of in a protocol
fn __bool__(&'p self) -> Self::Result where
Self: PyObjectBoolProtocol<'p>,
sourceimpl PyObjectProtocolSlots<RaggedBufferI64> for PyClassImplCollector<RaggedBufferI64>
impl PyObjectProtocolSlots<RaggedBufferI64> for PyClassImplCollector<RaggedBufferI64>
fn object_protocol_slots(self) -> &'static [PyType_Slot]
sourceimpl<'p> PyObjectReprProtocol<'p> for RaggedBufferI64
impl<'p> PyObjectReprProtocol<'p> for RaggedBufferI64
sourceimpl<'p> PyObjectRichcmpProtocol<'p> for RaggedBufferI64
impl<'p> PyObjectRichcmpProtocol<'p> for RaggedBufferI64
type Other = RaggedBufferI64
type Result = PyResult<bool>
sourceimpl<'p> PyObjectStrProtocol<'p> for RaggedBufferI64
impl<'p> PyObjectStrProtocol<'p> for RaggedBufferI64
sourceimpl PyTypeInfo for RaggedBufferI64
impl PyTypeInfo for RaggedBufferI64
type AsRefTarget = PyCell<Self>
type AsRefTarget = PyCell<Self>
Utility type to make Py::as_ref work.
sourcefn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
PyTypeObject instance for this type.
sourcefn is_type_of(object: &PyAny) -> bool
fn is_type_of(object: &PyAny) -> bool
Checks if object is an instance of this type or a subclass of this type.
sourcefn is_exact_type_of(object: &PyAny) -> bool
fn is_exact_type_of(object: &PyAny) -> bool
Checks if object is an instance of this type.
Auto Trait Implementations
impl RefUnwindSafe for RaggedBufferI64
impl Send for RaggedBufferI64
impl Sync for RaggedBufferI64
impl Unpin for RaggedBufferI64
impl UnwindSafe for RaggedBufferI64
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<'a, T> FromPyObject<'a> for T where
T: PyClass + Clone,
impl<'a, T> FromPyObject<'a> for T where
T: PyClass + Clone,
sourceimpl<T> PyTypeObject for T where
T: PyTypeInfo,
impl<T> PyTypeObject for T where
T: PyTypeInfo,
sourcefn type_object(py: Python<'_>) -> &PyType
fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more