pub trait AsScriptFullTypeRef {
    // Required methods
    fn get_ty(&self) -> &ScriptType;
    fn get_sub(&self) -> Option<&ScriptType>;

    // Provided methods
    fn display<'a>(&'a self) -> DisplayTy<'a, Self> { ... }
    fn fmt(&self, w: &mut Formatter<'_>) -> FmtResult { ... }
}

Required Methods§

Provided Methods§

source

fn display<'a>(&'a self) -> DisplayTy<'a, Self>

source

fn fmt(&self, w: &mut Formatter<'_>) -> FmtResult

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<'a> AsScriptFullTypeRef for (&'a ScriptType, Option<&'a ScriptType>)

Implementors§