pub struct PyClassImplCollector<T>(PhantomData<T>);
Expand description
This type is used as a “dummy” type on which dtolnay specializations are
applied to apply implementations from #[pymethods]
Tuple Fields§
§0: PhantomData<T>
Implementations§
Source§impl<T> PyClassImplCollector<T>
impl<T> PyClassImplCollector<T>
Trait Implementations§
Source§impl<T> Clone for PyClassImplCollector<T>
impl<T> Clone for PyClassImplCollector<T>
Source§impl<T> Default for PyClassImplCollector<T>
impl<T> Default for PyClassImplCollector<T>
Source§impl<T> PyClassNewTextSignature<T> for &PyClassImplCollector<T>
impl<T> PyClassNewTextSignature<T> for &PyClassImplCollector<T>
fn new_text_signature(self) -> Option<&'static str>
Source§impl<T> PyClass__add__SlotFragment<T> for &PyClassImplCollector<T>
impl<T> PyClass__add__SlotFragment<T> for &PyClassImplCollector<T>
Source§impl<T> PyClass__and__SlotFragment<T> for &PyClassImplCollector<T>
impl<T> PyClass__and__SlotFragment<T> for &PyClassImplCollector<T>
Source§impl<T> PyClass__delattr__SlotFragment<T> for &PyClassImplCollector<T>
impl<T> PyClass__delattr__SlotFragment<T> for &PyClassImplCollector<T>
Source§impl<T> PyClass__delete__SlotFragment<T> for &PyClassImplCollector<T>
impl<T> PyClass__delete__SlotFragment<T> for &PyClassImplCollector<T>
Source§impl<T> PyClass__delitem__SlotFragment<T> for &PyClassImplCollector<T>
impl<T> PyClass__delitem__SlotFragment<T> for &PyClassImplCollector<T>
Source§impl<T> PyClass__divmod__SlotFragment<T> for &PyClassImplCollector<T>
impl<T> PyClass__divmod__SlotFragment<T> for &PyClassImplCollector<T>
Source§impl<T> PyClass__eq__SlotFragment<T> for &PyClassImplCollector<T>
impl<T> PyClass__eq__SlotFragment<T> for &PyClassImplCollector<T>
Source§impl<T> PyClass__floordiv__SlotFragment<T> for &PyClassImplCollector<T>
impl<T> PyClass__floordiv__SlotFragment<T> for &PyClassImplCollector<T>
Source§impl<T> PyClass__ge__SlotFragment<T> for &PyClassImplCollector<T>
impl<T> PyClass__ge__SlotFragment<T> for &PyClassImplCollector<T>
Source§impl<T> PyClass__getattr__SlotFragment<T> for &PyClassImplCollector<T>
impl<T> PyClass__getattr__SlotFragment<T> for &PyClassImplCollector<T>
Source§impl<T> PyClass__getattribute__SlotFragment<T> for &PyClassImplCollector<T>
impl<T> PyClass__getattribute__SlotFragment<T> for &PyClassImplCollector<T>
Source§impl<T> PyClass__gt__SlotFragment<T> for &PyClassImplCollector<T>
impl<T> PyClass__gt__SlotFragment<T> for &PyClassImplCollector<T>
Source§impl<T> PyClass__le__SlotFragment<T> for &PyClassImplCollector<T>
impl<T> PyClass__le__SlotFragment<T> for &PyClassImplCollector<T>
Source§impl<T> PyClass__lshift__SlotFragment<T> for &PyClassImplCollector<T>
impl<T> PyClass__lshift__SlotFragment<T> for &PyClassImplCollector<T>
Source§impl<T> PyClass__lt__SlotFragment<T> for &PyClassImplCollector<T>
impl<T> PyClass__lt__SlotFragment<T> for &PyClassImplCollector<T>
Source§impl<T> PyClass__matmul__SlotFragment<T> for &PyClassImplCollector<T>
impl<T> PyClass__matmul__SlotFragment<T> for &PyClassImplCollector<T>
Source§impl<T> PyClass__mod__SlotFragment<T> for &PyClassImplCollector<T>
impl<T> PyClass__mod__SlotFragment<T> for &PyClassImplCollector<T>
Source§impl<T> PyClass__mul__SlotFragment<T> for &PyClassImplCollector<T>
impl<T> PyClass__mul__SlotFragment<T> for &PyClassImplCollector<T>
Source§impl<T> PyClass__ne__SlotFragment<T> for &PyClassImplCollector<T>
impl<T> PyClass__ne__SlotFragment<T> for &PyClassImplCollector<T>
Source§impl<T> PyClass__or__SlotFragment<T> for &PyClassImplCollector<T>
impl<T> PyClass__or__SlotFragment<T> for &PyClassImplCollector<T>
Source§impl<T> PyClass__pow__SlotFragment<T> for &PyClassImplCollector<T>
impl<T> PyClass__pow__SlotFragment<T> for &PyClassImplCollector<T>
Source§impl<T> PyClass__radd__SlotFragment<T> for &PyClassImplCollector<T>
impl<T> PyClass__radd__SlotFragment<T> for &PyClassImplCollector<T>
Source§impl<T> PyClass__rand__SlotFragment<T> for &PyClassImplCollector<T>
impl<T> PyClass__rand__SlotFragment<T> for &PyClassImplCollector<T>
Source§impl<T> PyClass__rdivmod__SlotFragment<T> for &PyClassImplCollector<T>
impl<T> PyClass__rdivmod__SlotFragment<T> for &PyClassImplCollector<T>
Source§impl<T> PyClass__rfloordiv__SlotFragment<T> for &PyClassImplCollector<T>
impl<T> PyClass__rfloordiv__SlotFragment<T> for &PyClassImplCollector<T>
Source§impl<T> PyClass__rlshift__SlotFragment<T> for &PyClassImplCollector<T>
impl<T> PyClass__rlshift__SlotFragment<T> for &PyClassImplCollector<T>
Source§impl<T> PyClass__rmatmul__SlotFragment<T> for &PyClassImplCollector<T>
impl<T> PyClass__rmatmul__SlotFragment<T> for &PyClassImplCollector<T>
Source§impl<T> PyClass__rmod__SlotFragment<T> for &PyClassImplCollector<T>
impl<T> PyClass__rmod__SlotFragment<T> for &PyClassImplCollector<T>
Source§impl<T> PyClass__rmul__SlotFragment<T> for &PyClassImplCollector<T>
impl<T> PyClass__rmul__SlotFragment<T> for &PyClassImplCollector<T>
Source§impl<T> PyClass__ror__SlotFragment<T> for &PyClassImplCollector<T>
impl<T> PyClass__ror__SlotFragment<T> for &PyClassImplCollector<T>
Source§impl<T> PyClass__rpow__SlotFragment<T> for &PyClassImplCollector<T>
impl<T> PyClass__rpow__SlotFragment<T> for &PyClassImplCollector<T>
Source§impl<T> PyClass__rrshift__SlotFragment<T> for &PyClassImplCollector<T>
impl<T> PyClass__rrshift__SlotFragment<T> for &PyClassImplCollector<T>
Source§impl<T> PyClass__rshift__SlotFragment<T> for &PyClassImplCollector<T>
impl<T> PyClass__rshift__SlotFragment<T> for &PyClassImplCollector<T>
Source§impl<T> PyClass__rsub__SlotFragment<T> for &PyClassImplCollector<T>
impl<T> PyClass__rsub__SlotFragment<T> for &PyClassImplCollector<T>
Source§impl<T> PyClass__rtruediv__SlotFragment<T> for &PyClassImplCollector<T>
impl<T> PyClass__rtruediv__SlotFragment<T> for &PyClassImplCollector<T>
Source§impl<T> PyClass__rxor__SlotFragment<T> for &PyClassImplCollector<T>
impl<T> PyClass__rxor__SlotFragment<T> for &PyClassImplCollector<T>
Source§impl<T> PyClass__set__SlotFragment<T> for &PyClassImplCollector<T>
impl<T> PyClass__set__SlotFragment<T> for &PyClassImplCollector<T>
Source§impl<T> PyClass__setattr__SlotFragment<T> for &PyClassImplCollector<T>
impl<T> PyClass__setattr__SlotFragment<T> for &PyClassImplCollector<T>
Source§impl<T> PyClass__setitem__SlotFragment<T> for &PyClassImplCollector<T>
impl<T> PyClass__setitem__SlotFragment<T> for &PyClassImplCollector<T>
Source§impl<T> PyClass__sub__SlotFragment<T> for &PyClassImplCollector<T>
impl<T> PyClass__sub__SlotFragment<T> for &PyClassImplCollector<T>
Source§impl<T> PyClass__truediv__SlotFragment<T> for &PyClassImplCollector<T>
impl<T> PyClass__truediv__SlotFragment<T> for &PyClassImplCollector<T>
Source§impl<T> PyClass__xor__SlotFragment<T> for &PyClassImplCollector<T>
impl<T> PyClass__xor__SlotFragment<T> for &PyClassImplCollector<T>
Source§impl PyMethods<Coroutine> for PyClassImplCollector<Coroutine>
Available on crate feature experimental-async
only.
impl PyMethods<Coroutine> for PyClassImplCollector<Coroutine>
Available on crate feature
experimental-async
only.Source§fn py_methods(self) -> &'static PyClassItems
fn py_methods(self) -> &'static PyClassItems
Available on non-crate feature
multiple-pymethods
only.Source§impl<T> PyMethods<T> for &PyClassImplCollector<T>
Available on non-crate feature multiple-pymethods
only.
impl<T> PyMethods<T> for &PyClassImplCollector<T>
Available on non-crate feature
multiple-pymethods
only.fn py_methods(self) -> &'static PyClassItems
impl<T> Copy for PyClassImplCollector<T>
Auto Trait Implementations§
impl<T> Freeze for PyClassImplCollector<T>
impl<T> RefUnwindSafe for PyClassImplCollector<T>where
T: RefUnwindSafe,
impl<T> Send for PyClassImplCollector<T>where
T: Send,
impl<T> Sync for PyClassImplCollector<T>where
T: Sync,
impl<T> Unpin for PyClassImplCollector<T>where
T: Unpin,
impl<T> UnwindSafe for PyClassImplCollector<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> AssertNotZeroSized for T
impl<T> AssertNotZeroSized for T
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more