Struct lucia_lang::gc::BorrowError
source · pub struct BorrowError;Expand description
An error returned by RefCell::try_borrow.
Trait Implementations§
source§impl Clone for BorrowError
impl Clone for BorrowError
source§fn clone(&self) -> BorrowError
fn clone(&self) -> BorrowError
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 BorrowError
impl Debug for BorrowError
source§impl Default for BorrowError
impl Default for BorrowError
source§fn default() -> BorrowError
fn default() -> BorrowError
Returns the “default value” for a type. Read more
source§impl Display for BorrowError
impl Display for BorrowError
source§impl Hash for BorrowError
impl Hash for BorrowError
source§impl Ord for BorrowError
impl Ord for BorrowError
source§fn cmp(&self, other: &BorrowError) -> Ordering
fn cmp(&self, other: &BorrowError) -> 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<BorrowError> for BorrowError
impl PartialEq<BorrowError> for BorrowError
source§fn eq(&self, other: &BorrowError) -> bool
fn eq(&self, other: &BorrowError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<BorrowError> for BorrowError
impl PartialOrd<BorrowError> for BorrowError
source§fn partial_cmp(&self, other: &BorrowError) -> Option<Ordering>
fn partial_cmp(&self, other: &BorrowError) -> 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 BorrowError
impl Eq for BorrowError
impl StructuralEq for BorrowError
impl StructuralPartialEq for BorrowError
Auto Trait Implementations§
impl RefUnwindSafe for BorrowError
impl Send for BorrowError
impl Sync for BorrowError
impl Unpin for BorrowError
impl UnwindSafe for BorrowError
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.