Skip to main content

Type

Type Alias Type 

Source
pub type Type = Type<'static, String>;

Aliased Type§

pub enum Type {
    NamedType(String),
    ListType(Box<Type<'static, String>>),
    NonNullType(Box<Type<'static, String>>),
}

Variants§

§

NamedType(String)

§

ListType(Box<Type<'static, String>>)

§

NonNullType(Box<Type<'static, String>>)

Implementations§

Source§

impl Type

Source

pub fn inner_type(&self) -> &str

Source

pub fn is_non_null(&self) -> bool

Source

pub fn is_named_type(&self) -> bool