pub trait WithReference: Sized {
// Provided method
fn with_reference(
self,
reference: Reference<Self>,
) -> ReferencedEntity<Self> { ... }
}Provided Methods§
fn with_reference(self, reference: Reference<Self>) -> ReferencedEntity<Self>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".