Struct ragged_buffer::monomorphs::RaggedBufferBool
source · [−]pub struct RaggedBufferBool(pub RaggedBufferView<bool>);Tuple Fields
0: RaggedBufferView<bool>Implementations
Trait Implementations
sourceimpl Clone for RaggedBufferBool
impl Clone for RaggedBufferBool
sourcefn clone(&self) -> RaggedBufferBool
fn clone(&self) -> RaggedBufferBool
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 RaggedBufferBool
impl IntoPy<Py<PyAny>> for RaggedBufferBool
sourceimpl PyClass for RaggedBufferBool
impl PyClass for RaggedBufferBool
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<RaggedBufferBool> for PyClassImplCollector<RaggedBufferBool>
impl PyClassDescriptors<RaggedBufferBool> for PyClassImplCollector<RaggedBufferBool>
fn py_class_descriptors(self) -> &'static [PyMethodDefType]
sourceimpl PyClassImpl for RaggedBufferBool
impl PyClassImpl for RaggedBufferBool
sourceconst IS_BASETYPE: bool
const IS_BASETYPE: bool
#[pyclass(subclass)]
sourceconst IS_SUBCLASS: bool
const IS_SUBCLASS: bool
#[pyclass(extends=…)]
type ThreadChecker = ThreadCheckerStub<RaggedBufferBool>
type ThreadChecker = ThreadCheckerStub<RaggedBufferBool>
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<RaggedBufferBool> for PyClassImplCollector<RaggedBufferBool>
impl PyClassNewImpl<RaggedBufferBool> for PyClassImplCollector<RaggedBufferBool>
sourceimpl<'p> PyMappingGetItemProtocol<'p> for RaggedBufferBool
impl<'p> PyMappingGetItemProtocol<'p> for RaggedBufferBool
type Key = MultiIndex<'p>
type Result = PyResult<RaggedBufferBool>
sourceimpl<'p> PyMappingLenProtocol<'p> for RaggedBufferBool
impl<'p> PyMappingLenProtocol<'p> for RaggedBufferBool
sourceimpl<'p> PyMappingProtocol<'p> for RaggedBufferBool
impl<'p> PyMappingProtocol<'p> for RaggedBufferBool
fn __getitem__(
&'p self,
index: <RaggedBufferBool as PyMappingGetItemProtocol<'p>>::Key
) -> <RaggedBufferBool as PyMappingGetItemProtocol<'p>>::Result
fn __len__(&'p self) -> <RaggedBufferBool 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<RaggedBufferBool> for PyClassImplCollector<RaggedBufferBool>
impl PyMappingProtocolSlots<RaggedBufferBool> for PyClassImplCollector<RaggedBufferBool>
fn mapping_protocol_slots(self) -> &'static [PyType_Slot]
sourceimpl PyMethods<RaggedBufferBool> for PyClassImplCollector<RaggedBufferBool>
impl PyMethods<RaggedBufferBool> for PyClassImplCollector<RaggedBufferBool>
fn py_methods(self) -> &'static [PyMethodDefType]
sourceimpl PyMethodsProtocolSlots<RaggedBufferBool> for PyClassImplCollector<RaggedBufferBool>
impl PyMethodsProtocolSlots<RaggedBufferBool> for PyClassImplCollector<RaggedBufferBool>
fn methods_protocol_slots(self) -> &'static [PyType_Slot]
sourceimpl<'p> PyObjectProtocol<'p> for RaggedBufferBool
impl<'p> PyObjectProtocol<'p> for RaggedBufferBool
fn __str__(&'p self) -> <RaggedBufferBool as PyObjectStrProtocol<'p>>::Result
fn __repr__(&'p self) -> <RaggedBufferBool as PyObjectReprProtocol<'p>>::Result
fn __richcmp__(
&'p self,
other: <RaggedBufferBool as PyObjectRichcmpProtocol<'p>>::Other,
op: CompareOp
) -> <RaggedBufferBool 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<RaggedBufferBool> for PyClassImplCollector<RaggedBufferBool>
impl PyObjectProtocolSlots<RaggedBufferBool> for PyClassImplCollector<RaggedBufferBool>
fn object_protocol_slots(self) -> &'static [PyType_Slot]
sourceimpl<'p> PyObjectReprProtocol<'p> for RaggedBufferBool
impl<'p> PyObjectReprProtocol<'p> for RaggedBufferBool
sourceimpl<'p> PyObjectRichcmpProtocol<'p> for RaggedBufferBool
impl<'p> PyObjectRichcmpProtocol<'p> for RaggedBufferBool
type Other = RaggedBufferBool
type Result = PyResult<bool>
sourceimpl<'p> PyObjectStrProtocol<'p> for RaggedBufferBool
impl<'p> PyObjectStrProtocol<'p> for RaggedBufferBool
sourceimpl PyTypeInfo for RaggedBufferBool
impl PyTypeInfo for RaggedBufferBool
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 RaggedBufferBool
impl Send for RaggedBufferBool
impl Sync for RaggedBufferBool
impl Unpin for RaggedBufferBool
impl UnwindSafe for RaggedBufferBool
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