pub struct ExtRefCell<T: ?Sized> { /* private fields */ }
Expand description
§Don’t use it
This cell is not safe
external mutable is just a placebo
when using it, you must ensure safety by yourself
Implementations§
Trait Implementations§
Source§impl<T: Clone> Clone for ExtRefCell<T>
impl<T: Clone> Clone for ExtRefCell<T>
Source§fn clone(&self) -> ExtRefCell<T>
fn clone(&self) -> ExtRefCell<T>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<T: Default + ?Sized> Default for ExtRefCell<T>
impl<T: Default + ?Sized> Default for ExtRefCell<T>
Source§fn default() -> ExtRefCell<T>
fn default() -> ExtRefCell<T>
Returns the “default value” for a type. Read more
Source§impl<T> Deref for ExtRefCell<T>
impl<T> Deref for ExtRefCell<T>
Source§impl<T> DerefMut for ExtRefCell<T>
impl<T> DerefMut for ExtRefCell<T>
Source§impl<T> From<T> for ExtRefCell<T>
impl<T> From<T> for ExtRefCell<T>
Source§fn from(t: T) -> ExtRefCell<T>
fn from(t: T) -> ExtRefCell<T>
Converts to this type from the input type.
Source§impl<T: Ord> Ord for ExtRefCell<T>
impl<T: Ord> Ord for ExtRefCell<T>
Source§fn cmp(&self, other: &ExtRefCell<T>) -> Ordering
fn cmp(&self, other: &ExtRefCell<T>) -> Ordering
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 ExtRefCell<T>
impl<T: PartialEq> PartialEq for ExtRefCell<T>
Source§impl<T: PartialOrd> PartialOrd for ExtRefCell<T>
impl<T: PartialOrd> PartialOrd for ExtRefCell<T>
Source§fn partial_cmp(&self, other: &ExtRefCell<T>) -> Option<Ordering>
fn partial_cmp(&self, other: &ExtRefCell<T>) -> Option<Ordering>
Source§fn lt(&self, other: &ExtRefCell<T>) -> bool
fn lt(&self, other: &ExtRefCell<T>) -> bool
Source§fn le(&self, other: &ExtRefCell<T>) -> bool
fn le(&self, other: &ExtRefCell<T>) -> bool
Source§fn gt(&self, other: &ExtRefCell<T>) -> bool
fn gt(&self, other: &ExtRefCell<T>) -> bool
impl<T: Eq> Eq for ExtRefCell<T>
Auto Trait Implementations§
impl<T> !Freeze for ExtRefCell<T>
impl<T> !RefUnwindSafe for ExtRefCell<T>
impl<T> Send for ExtRefCell<T>
impl<T> !Sync for ExtRefCell<T>
impl<T> Unpin for ExtRefCell<T>
impl<T> UnwindSafe for ExtRefCell<T>where
T: UnwindSafe + ?Sized,
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