[][src]Enum genco::rust::Reference

pub enum Reference {
    Ref,
    StaticRef,
    Named(Cons<'static>),
}

Reference information about a name.

Variants

Ref

An anonymous reference.

StaticRef

A static reference.

Named(Cons<'static>)

A named reference.

Trait Implementations

impl Clone for Reference[src]

impl Debug for Reference[src]

impl Eq for Reference[src]

impl<'el> From<&'static str> for Reference[src]

impl From<Rc<String>> for Reference[src]

impl From<Ref> for Reference[src]

impl From<StaticRef> for Reference[src]

impl Hash for Reference[src]

impl Ord for Reference[src]

impl PartialEq<Reference> for Reference[src]

impl PartialOrd<Reference> for Reference[src]

impl StructuralEq for Reference[src]

impl StructuralPartialEq for Reference[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.