Trait spirt::print::Print

source ·
pub trait Print {
    type Output;

    // Required method
    fn print(&self, printer: &Printer<'_>) -> Self::Output;
}

Required Associated Types§

Required Methods§

source

fn print(&self, printer: &Printer<'_>) -> Self::Output

Implementations on Foreign Types§

source§

impl Print for Vec<DiagMsgPart>

§

type Output = Fragment

source§

fn print(&self, printer: &Printer<'_>) -> Fragment

Implementors§

source§

impl Print for AddrSpace

§

type Output = Fragment

source§

impl Print for Attr

§

type Output = Fragment

source§

impl Print for ExportKey

§

type Output = Fragment

source§

impl Print for Exportee

§

type Output = Fragment

source§

impl Print for Import

§

type Output = Fragment

source§

impl Print for spirt::ModuleDebugInfo

source§

impl Print for ModuleDialect

source§

impl Print for Value

§

type Output = Fragment

source§

impl Print for QPtrUsage

§

type Output = Fragment

source§

impl Print for ControlInst

§

type Output = Fragment

source§

impl Print for FuncAt<'_, ControlNode>

§

type Output = Fragment

source§

impl Print for FuncAt<'_, ControlRegion>

§

type Output = Fragment

source§

impl Print for FuncAt<'_, DataInst>

§

type Output = Fragment

source§

impl Print for FuncAt<'_, EntityListIter<ControlNode>>

§

type Output = Fragment

source§

impl Print for QPtrMemUsage

§

type Output = Fragment

source§

impl Print for Dialect

§

type Output = Fragment

source§

impl Print for spirt::spv::ModuleDebugInfo

§

type Output = Fragment

source§

impl Print for AttrSet

§

type Output = Fragment

source§

impl Print for Const

§

type Output = Fragment

source§

impl Print for ConstDef

source§

impl Print for ControlNodeOutputDecl

source§

impl Print for ControlRegionInputDecl

source§

impl Print for Func

§

type Output = Fragment

source§

impl Print for FuncDecl

source§

impl Print for FuncParam

source§

impl Print for GlobalVar

§

type Output = Fragment

source§

impl Print for GlobalVarDecl

source§

impl Print for Module

§

type Output = Fragment

source§

impl Print for Type

§

type Output = Fragment

source§

impl Print for TypeDef

source§

impl Print for Plan<'_>

§

type Output = Versions<Fragment>