Struct send_cell::Ref [−][src]
pub struct Ref<'a, T: 'a> { /* fields omitted */ }Wraps a borrowed reference to a value in a SendCell box.
Trait Implementations
impl<'a, T: Debug + 'a> Debug for Ref<'a, T>[src]
impl<'a, T: Debug + 'a> Debug for Ref<'a, T>fn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<'a, T: PartialEq + 'a> PartialEq for Ref<'a, T>[src]
impl<'a, T: PartialEq + 'a> PartialEq for Ref<'a, T>fn eq(&self, other: &Ref<'a, T>) -> bool[src]
fn eq(&self, other: &Ref<'a, T>) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Ref<'a, T>) -> bool[src]
fn ne(&self, other: &Ref<'a, T>) -> boolThis method tests for !=.
impl<'a, T: Eq + 'a> Eq for Ref<'a, T>[src]
impl<'a, T: Eq + 'a> Eq for Ref<'a, T>impl<'a, T: PartialOrd + 'a> PartialOrd for Ref<'a, T>[src]
impl<'a, T: PartialOrd + 'a> PartialOrd for Ref<'a, T>fn partial_cmp(&self, other: &Ref<'a, T>) -> Option<Ordering>[src]
fn partial_cmp(&self, other: &Ref<'a, T>) -> Option<Ordering>This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, other: &Ref<'a, T>) -> bool[src]
fn lt(&self, other: &Ref<'a, T>) -> boolThis method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, other: &Ref<'a, T>) -> bool[src]
fn le(&self, other: &Ref<'a, T>) -> boolThis method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, other: &Ref<'a, T>) -> bool[src]
fn gt(&self, other: &Ref<'a, T>) -> boolThis method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, other: &Ref<'a, T>) -> bool[src]
fn ge(&self, other: &Ref<'a, T>) -> boolThis method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl<'a, T: Ord + 'a> Ord for Ref<'a, T>[src]
impl<'a, T: Ord + 'a> Ord for Ref<'a, T>fn cmp(&self, other: &Ref<'a, T>) -> Ordering[src]
fn cmp(&self, other: &Ref<'a, T>) -> OrderingThis method returns an Ordering between self and other. Read more
fn max(self, other: Self) -> Self1.21.0[src]
fn max(self, other: Self) -> SelfCompares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self1.21.0[src]
fn min(self, other: Self) -> SelfCompares and returns the minimum of two values. Read more
impl<'a, T: Hash + 'a> Hash for Ref<'a, T>[src]
impl<'a, T: Hash + 'a> Hash for Ref<'a, T>fn hash<__HT: Hasher>(&self, state: &mut __HT)[src]
fn hash<__HT: Hasher>(&self, state: &mut __HT)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, Feeds a slice of this type into the given [Hasher]. Read more
impl<'a, T: 'a> Deref for Ref<'a, T>[src]
impl<'a, T: 'a> Deref for Ref<'a, T>