Struct symbol_map::indexing::Ref [] [src]

pub struct Ref<T> {
    // some fields omitted
}

Wrapper for a raw pointer which lets us treat it like a reference.

You are strongly discouraged from exposing this type directly in your data structures. This type is essentially a giant footgun. In particular:

Trait Implementations

impl<T> Send for Ref<T> where T: Send
[src]

impl<T> Sync for Ref<T> where T: Sync
[src]

impl<T> Clone for Ref<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T> Copy for Ref<T>
[src]

impl<T> Pointer for Ref<T>
[src]

Formats the value using the given formatter.

impl<T> Debug for Ref<T> where T: Debug
[src]

Formats the value using the given formatter.

impl<T> Eq for Ref<T> where T: Eq
[src]

impl<T> Hash for Ref<T> where T: Hash
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl<T> Ord for Ref<T> where T: Ord
[src]

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

impl<T> PartialEq for Ref<T> where T: PartialEq
[src]

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

This method tests for !=.

impl<T> PartialOrd for Ref<T> where T: PartialOrd
[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