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

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

Returns the type of the data from an enum.

Implementations on Foreign Types

impl Data for i8
[src]

[src]

impl Data for u8
[src]

[src]

Implementors