Struct pyo3::pycell::impl_::MutableClass
source · pub struct MutableClass(());
Tuple Fields§
§0: ()
Trait Implementations§
source§impl<T: PyClassImpl<PyClassMutability = Self>> GetBorrowChecker<T> for MutableClass
impl<T: PyClassImpl<PyClassMutability = Self>> GetBorrowChecker<T> for MutableClass
fn borrow_checker(class_object: &PyClassObject<T>) -> &BorrowChecker
source§impl PyClassMutability for MutableClass
impl PyClassMutability for MutableClass
type Storage = BorrowChecker
type Checker = BorrowChecker
type ImmutableChild = ExtendsMutableAncestor<ImmutableClass>
type MutableChild = ExtendsMutableAncestor<MutableClass>
Auto Trait Implementations§
impl Freeze for MutableClass
impl RefUnwindSafe for MutableClass
impl Send for MutableClass
impl Sync for MutableClass
impl Unpin for MutableClass
impl UnwindSafe for MutableClass
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> 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