Skip to main content

SurfaceModel

Trait SurfaceModel 

Source
pub trait SurfaceModel: Sealed {
    const MODEL: Model;
}
Expand description

The two surface models: Cells and Pixels.

Required Associated Constants§

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl SurfaceModel for Cells

Source§

const MODEL: Model = Model::Cells

Source§

impl SurfaceModel for Pixels

Source§

const MODEL: Model = Model::Pixels