pub trait Intrinsic: Sized + Clone + Copy {
    // Required methods
    fn name(&self) -> Cow<'_, str>;
    fn id(&self) -> u32;
    fn inputs(&self) -> Vec<Ref<NameAndType>>;
    fn outputs(&self) -> Vec<Conf<Ref<Type>>>;
}

Required Methods§

source

fn name(&self) -> Cow<'_, str>

source

fn id(&self) -> u32

Unique identifier for this Intrinsic.

source

fn inputs(&self) -> Vec<Ref<NameAndType>>

Reeturns the list of the input names and types for this intrinsic.

source

fn outputs(&self) -> Vec<Conf<Ref<Type>>>

Returns the list of the output types for this intrinsic.

Object Safety§

This trait is not object safe.

Implementors§