pub trait Term {
type Context: TermContext;
type Operation: Eq + Hash;
type Arg<'a>: Copy
where Self: 'a;
// Required methods
fn arity(&self) -> usize;
fn arg(&self, idx: usize) -> Option<Self::Arg<'_>>;
}Required Associated Types§
type Context: TermContext
type Operation: Eq + Hash
type Arg<'a>: Copy where Self: 'a
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".