Struct pax_runtime_api::refcell_debug::RefCell
source · pub struct RefCell<T> {
pub ref_cell: RefCell<T>,
pub last_borrow_context: Cell<&'static str>,
}
Fields§
§ref_cell: RefCell<T>
§last_borrow_context: Cell<&'static str>
Implementations§
Trait Implementations§
source§impl<T: Ord> Ord for RefCell<T>
impl<T: Ord> Ord for RefCell<T>
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<T: PartialEq> PartialEq for RefCell<T>
impl<T: PartialEq> PartialEq for RefCell<T>
source§impl<T: PartialOrd> PartialOrd for RefCell<T>
impl<T: PartialOrd> PartialOrd for RefCell<T>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<T: Eq> Eq for RefCell<T>
impl<T> StructuralPartialEq for RefCell<T>
Auto Trait Implementations§
impl<T> !Freeze for RefCell<T>
impl<T> !RefUnwindSafe for RefCell<T>
impl<T> Send for RefCell<T>where
T: Send,
impl<T> !Sync for RefCell<T>
impl<T> Unpin for RefCell<T>where
T: Unpin,
impl<T> UnwindSafe for RefCell<T>where
T: UnwindSafe,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.