[][src]Struct gfx_hal::format::Properties

pub struct Properties {
    pub linear_tiling: ImageFeature,
    pub optimal_tiling: ImageFeature,
    pub buffer_features: BufferFeature,
}

Format properties of the physical device.

Fields

linear_tiling: ImageFeature

A bitmask of the features supported when an image with linear tiling is requested. Linear tiling has a known layout in-memory so data can be copied to and from host memory.

optimal_tiling: ImageFeature

A bitmask of the features supported when an image with optimal tiling is requested. Optimal tiling is arranged however the GPU wants; its exact layout is undefined.

buffer_features: BufferFeature

The features supported by buffers.

Trait Implementations

impl PartialEq<Properties> for Properties[src]

impl Default for Properties[src]

impl Clone for Properties[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Eq for Properties[src]

impl Copy for Properties[src]

impl Debug for Properties[src]

impl Hash for Properties[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

Blanket Implementations

impl<T> Supports<T> for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]