Struct BorrowRefMut
pub(in ::cell) struct BorrowRefMut<'b> { pub(in ::cell) borrow: &'b Cell<isize> }
Fields
borrow: &'b Cell<isize>
Implementations
impl<'b> BorrowRefMut<'b>
const fn new(borrow: &'b Cell<isize>) -> Option<BorrowRefMut<'b>>fn clone(&self) -> BorrowRefMut<'b>
Trait Implementations
impl Drop for BorrowRefMut<'_>
fn drop(&mut self)
Auto Trait Implementations
impl<'b> !RefUnwindSafe for BorrowRefMut<'b>
impl<'b> !Send for BorrowRefMut<'b>
impl<'b> !Sync for BorrowRefMut<'b>
impl<'b> !UnwindSafe for BorrowRefMut<'b>
impl<'b> Freeze for BorrowRefMut<'b>
impl<'b> Unpin for BorrowRefMut<'b>
impl<'b> UnsafeUnpin for BorrowRefMut<'b>
Blanket Implementations
impl<T> Any for BorrowRefMut<'b>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for BorrowRefMut<'b>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for BorrowRefMut<'b>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for BorrowRefMut<'b>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> SizeHint for BorrowRefMut<'b>
where
T: ?Sized,
fn lower_bound(&self) -> usizefn upper_bound(&self) -> Option<usize>
impl<T> SizedTypeProperties for BorrowRefMut<'b>
impl<T, U> Into<U> for BorrowRefMut<'b>
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for BorrowRefMut<'b>
where
U: Into<T>,
type Error = Infallible;fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto<U> for BorrowRefMut<'b>
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>