[][src]Trait vulkano::format::Data

pub unsafe trait Data {
    fn ty() -> Format;
}

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

fn ty() -> Format

Returns the type of the data from an enum.

Loading content...

Implementations on Foreign Types

impl Data for i8[src]

impl Data for u8[src]

Loading content...

Implementors

Loading content...