pub trait Arrow: Sized {
type Object;
// Required methods
fn source(&self) -> Self::Object;
fn target(&self) -> Self::Object;
fn identity(a: Self::Object) -> Self;
fn compose(&self, other: &Self) -> Option<Self>;
}Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".