pub trait Intrinsic:
Debug
+ Sized
+ Clone
+ Copy {
// Required methods
fn name(&self) -> Cow<'_, str>;
fn id(&self) -> IntrinsicId;
fn inputs(&self) -> Vec<NameAndType>;
fn outputs(&self) -> Vec<Conf<Ref<Type>>>;
// Provided method
fn class(&self) -> BNIntrinsicClass { ... }
}
Required Methods§
fn name(&self) -> Cow<'_, str>
sourcefn id(&self) -> IntrinsicId
fn id(&self) -> IntrinsicId
Unique identifier for this Intrinsic
.
sourcefn inputs(&self) -> Vec<NameAndType>
fn inputs(&self) -> Vec<NameAndType>
List of the input names and types for this intrinsic.
Provided Methods§
sourcefn class(&self) -> BNIntrinsicClass
fn class(&self) -> BNIntrinsicClass
The intrinsic class for this Intrinsic
.
Object Safety§
This trait is not object safe.