Skip to main content

WithReference

Trait WithReference 

Source
pub trait WithReference: Sized {
    // Provided method
    fn with_reference(
        self,
        reference: Reference<Self>,
    ) -> ReferencedEntity<Self> { ... }
}

Provided Methods§

Source

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".

Implementors§