Skip to main content

RecordProjection

Trait RecordProjection 

Source
pub trait RecordProjection<R> {
    // Required method
    fn project(&self) -> Option<&R>;
}

Required Methods§

Source

fn project(&self) -> Option<&R>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<R> RecordProjection<R> for R