Struct lucia_lang::gc::BorrowMutError
source · pub struct BorrowMutError;Expand description
An error returned by RefCell::try_borrow_mut.
Trait Implementations§
source§impl Clone for BorrowMutError
impl Clone for BorrowMutError
source§fn clone(&self) -> BorrowMutError
fn clone(&self) -> BorrowMutError
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 Debug for BorrowMutError
impl Debug for BorrowMutError
source§impl Default for BorrowMutError
impl Default for BorrowMutError
source§fn default() -> BorrowMutError
fn default() -> BorrowMutError
Returns the “default value” for a type. Read more
source§impl Display for BorrowMutError
impl Display for BorrowMutError
source§impl Hash for BorrowMutError
impl Hash for BorrowMutError
source§impl Ord for BorrowMutError
impl Ord for BorrowMutError
source§fn cmp(&self, other: &BorrowMutError) -> Ordering
fn cmp(&self, other: &BorrowMutError) -> 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 PartialEq<BorrowMutError> for BorrowMutError
impl PartialEq<BorrowMutError> for BorrowMutError
source§fn eq(&self, other: &BorrowMutError) -> bool
fn eq(&self, other: &BorrowMutError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<BorrowMutError> for BorrowMutError
impl PartialOrd<BorrowMutError> for BorrowMutError
source§fn partial_cmp(&self, other: &BorrowMutError) -> Option<Ordering>
fn partial_cmp(&self, other: &BorrowMutError) -> Option<Ordering>
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 Copy for BorrowMutError
impl Eq for BorrowMutError
impl StructuralEq for BorrowMutError
impl StructuralPartialEq for BorrowMutError
Auto Trait Implementations§
impl RefUnwindSafe for BorrowMutError
impl Send for BorrowMutError
impl Sync for BorrowMutError
impl Unpin for BorrowMutError
impl UnwindSafe for BorrowMutError
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.