pub trait NoGenericArgsGenericLibfunc: Default {
const STR_ID: &'static str;
// Required method
fn specialize_signature(
&self,
context: &dyn SignatureSpecializationContext,
) -> Result<LibfuncSignature, SpecializationError>;
}
Expand description
Trait for implementing a specialization generator with no generic arguments.
Required Associated Constants§
Required Methods§
fn specialize_signature( &self, context: &dyn SignatureSpecializationContext, ) -> Result<LibfuncSignature, SpecializationError>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.