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.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".