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§
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
Object Safety§
This trait is not object safe.