Skip to main content

CanBeView

Trait CanBeView 

Source
pub trait CanBeView<DATAVIEW> {
    // Required method
    fn to_view(&self) -> DATAVIEW;
}

Required Methods§

Source

fn to_view(&self) -> DATAVIEW

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§