Trait gfx::Typed []

pub trait Typed {
    type Raw;
    fn new(raw: Self::Raw) -> Self;
    fn raw(&self) -> &Self::Raw;
}

A service trait used to get the raw data out of strong types. Not meant for public use.

Associated Types

The raw type behind the phantom.

Required Methods

Crete a new phantom from the raw type.

Get an internal reference to the raw type.

Implementors