pub struct PyRefMut<'p, T>where
T: PyClass,{ /* private fields */ }Expand description
A wrapper type for a mutably borrowed value from aPyCell<T>.
See the module-level documentation for more information.
Implementations
sourceimpl<'p, T, U> PyRefMut<'p, T>where
T: PyClass<BaseType = U>,
U: PyClass,
impl<'p, T, U> PyRefMut<'p, T>where
T: PyClass<BaseType = U>,
U: PyClass,
sourcepub fn into_super(self) -> PyRefMut<'p, U>
pub fn into_super(self) -> PyRefMut<'p, U>
Gets a PyRef<T::BaseType>.
See PyRef::into_super for more.
Trait Implementations
sourceimpl<'a, T> AsPyPointer for PyRefMut<'a, T>where
T: PyClass,
impl<'a, T> AsPyPointer for PyRefMut<'a, T>where
T: PyClass,
sourceimpl<'a, T> FromPyObject<'a> for PyRefMut<'a, T>where
T: PyClass,
impl<'a, T> FromPyObject<'a> for PyRefMut<'a, T>where
T: PyClass,
Auto Trait Implementations
impl<'p, T> !RefUnwindSafe for PyRefMut<'p, T>
impl<'p, T> !Send for PyRefMut<'p, T>
impl<'p, T> !Sync for PyRefMut<'p, T>
impl<'p, T> Unpin for PyRefMut<'p, T>
impl<'p, T> !UnwindSafe for PyRefMut<'p, T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToHex for Twhere
T: AsRef<[u8]>,
impl<T> ToHex for Twhere
T: AsRef<[u8]>,
sourcefn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self into the result. Lower case
letters are used (e.g. f9b4ca) Read moresourcefn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self into the result. Upper case
letters are used (e.g. F9B4CA) Read more