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]

Formats the value using the given formatter. Read more

impl<'a, T: PartialEq + 'a> PartialEq for Ref<'a, T>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'a, T: Eq + 'a> Eq for Ref<'a, T>
[src]

impl<'a, T: PartialOrd + 'a> PartialOrd for Ref<'a, T>
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This 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]

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl<'a, T: Hash + 'a> Hash for Ref<'a, T>
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl<'a, T: 'a> Deref for Ref<'a, T>
[src]

The resulting type after dereferencing.

Dereferences the value.

Auto Trait Implementations

impl<'a, T> Send for Ref<'a, T> where
    T: Sync

impl<'a, T> Sync for Ref<'a, T> where
    T: Sync