Struct syn::TypeSlice[][src]

pub struct TypeSlice {
    pub bracket_token: Bracket,
    pub elem: Box<Type>,
}

A dynamically sized slice type: [T].

This type is available if Syn is built with the "derive" or "full" feature.

Fields

Trait Implementations

impl Synom for TypeSlice
[src]

A short name of the type being parsed. Read more

impl ToTokens for TypeSlice
[src]

Write self to the given Tokens. Read more

Convert self directly into a Tokens object. Read more

impl Clone for TypeSlice
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl From<TypeSlice> for Type
[src]

Performs the conversion.

Auto Trait Implementations

impl !Send for TypeSlice

impl !Sync for TypeSlice