Struct parser_fuck::common::cell::ExtRefCell
source · 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
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§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> !RefUnwindSafe for ExtRefCell<T>
impl<T: ?Sized> Send for ExtRefCell<T>where T: Send,
impl<T> !Sync for ExtRefCell<T>
impl<T: ?Sized> Unpin for ExtRefCell<T>where T: Unpin,
impl<T: ?Sized> UnwindSafe for ExtRefCell<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