Struct gluon_base::types::ArcType [] [src]

pub struct ArcType<Id> {
    // some fields omitted
}

A shared type which is atomically reference counted

Methods

impl<Id> ArcType<Id>
[src]

fn new(typ: Type<Id, ArcType<Id>>) -> ArcType<Id>

impl<Id: Clone> ArcType<Id>
[src]

fn into_inner(self) -> Type<Id, ArcType<Id>>

Methods from Deref<Target=Type<Id, ArcType<Id>>>

fn is_uninitialized(&self) -> bool

fn kind(&self) -> RcKind

fn as_alias(&self) -> Option<(&Id, &[T])>

Trait Implementations

impl<Id: Hash> Hash for ArcType<Id>
[src]

fn hash<__HId: Hasher>(&self, __arg_0: &mut __HId)

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

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0

Feeds a slice of this type into the state provided.

impl<Id: PartialEq> PartialEq for ArcType<Id>
[src]

fn eq(&self, __arg_0: &ArcType<Id>) -> bool

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

fn ne(&self, __arg_0: &ArcType<Id>) -> bool

This method tests for !=.

impl<Id: Eq> Eq for ArcType<Id>
[src]

impl<Id: Clone> Clone for ArcType<Id>
[src]

fn clone(&self) -> ArcType<Id>

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl<Id: Debug> Debug for ArcType<Id>
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl<Id: AsRef<str>> Display for ArcType<Id>
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl<Id> Deref for ArcType<Id>
[src]

type Target = Type<Id, ArcType<Id>>

The resulting type after dereferencing

fn deref(&self) -> &Type<Id, ArcType<Id>>

The method called to dereference a value

impl<Id> From<Type<Id, ArcType<Id>>> for ArcType<Id>
[src]

fn from(typ: Type<Id, ArcType<Id>>) -> ArcType<Id>

Performs the conversion.