pub trait Fn1<A>: FnMut1<A> {
// Required method
fn call(&self, arg: A) -> Self::Output;
}Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
pub trait Fn1<A>: FnMut1<A> {
// Required method
fn call(&self, arg: A) -> Self::Output;
}This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".