[][src]Enum genco::go::Go

pub enum Go<'el> {
    Type {
        name: Name<'el>,
    },
    Map {
        key: Box<Go<'el>>,
        value: Box<Go<'el>>,
    },
    Array {
        inner: Box<Go<'el>>,
    },
    Interface,
}

Go token specialization.

Variants

Type

A regular type.

Fields of Type

name: Name<'el>

The name being referenced.

Map

A map, map[].

Fields of Map

key: Box<Go<'el>>

Key of the map.

value: Box<Go<'el>>

Value of the map.

Array

An array, [].

Fields of Array

inner: Box<Go<'el>>

Inner value of the array.

Interface

An interface type, interface{}.

Trait Implementations

impl<'el> Clone for Go<'el>[src]

impl<'el> Custom for Go<'el>[src]

type Extra = Extra

Extra data associated with building a formatting element.

impl<'el> Debug for Go<'el>[src]

impl<'el> Eq for Go<'el>[src]

impl<'el> Hash for Go<'el>[src]

impl<'el> Ord for Go<'el>[src]

impl<'el> PartialEq<Go<'el>> for Go<'el>[src]

impl<'el> PartialOrd<Go<'el>> for Go<'el>[src]

impl<'el> StructuralEq for Go<'el>[src]

impl<'el> StructuralPartialEq for Go<'el>[src]

Auto Trait Implementations

impl<'el> !RefUnwindSafe for Go<'el>

impl<'el> !Send for Go<'el>

impl<'el> !Sync for Go<'el>

impl<'el> Unpin for Go<'el>

impl<'el> UnwindSafe for Go<'el>

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.