Trait vulkano::format::Data

source ·
pub unsafe trait Data {
    fn ty() -> Format;
}
Expand description

Some data whose type must be known by the library.

This trait is unsafe to implement because bad things will happen if ty() returns a wrong value.

Required Methods

Returns the type of the data from an enum.

Implementations on Foreign Types

Implementors