pub trait ForwardOnce<Rhs> {
type Output;
// Required method
fn forward_once(self, input: Rhs) -> Self::Output;
}Expand description
A consuming implementation of forward propagation
Required Associated Types§
Required Methods§
Sourcefn forward_once(self, input: Rhs) -> Self::Output
fn forward_once(self, input: Rhs) -> Self::Output
a single forward step consuming the implementor
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".