pub struct PyClassGuardMap<'a, U: ?Sized, const MUT: bool> { /* private fields */ }
Expand description
Wraps a borrowed reference U
to a value stored inside of a pyclass T
Trait Implementations§
Source§impl<U: ?Sized> DerefMut for PyClassGuardMap<'_, U, true>
impl<U: ?Sized> DerefMut for PyClassGuardMap<'_, U, true>
Auto Trait Implementations§
impl<'a, U, const MUT: bool> Freeze for PyClassGuardMap<'a, U, MUT>where
U: ?Sized,
impl<'a, U, const MUT: bool> !RefUnwindSafe for PyClassGuardMap<'a, U, MUT>
impl<'a, U, const MUT: bool> !Send for PyClassGuardMap<'a, U, MUT>
impl<'a, U, const MUT: bool> !Sync for PyClassGuardMap<'a, U, MUT>
impl<'a, U, const MUT: bool> Unpin for PyClassGuardMap<'a, U, MUT>where
U: ?Sized,
impl<'a, U, const MUT: bool> !UnwindSafe for PyClassGuardMap<'a, U, MUT>
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