pub trait Projection<T> {
type Output;
// Required method
fn projected(self, onto: &T) -> Self::Output;
}Expand description
Projection trait for projection of linear types and shapes
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".