[][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 Clone for Properties[src]

impl Copy for Properties[src]

impl Debug for Properties[src]

impl Default for Properties[src]

impl Eq for Properties[src]

impl Hash for Properties[src]

impl PartialEq<Properties> for Properties[src]

impl StructuralEq for Properties[src]

impl StructuralPartialEq for Properties[src]

Auto Trait Implementations

impl RefUnwindSafe for Properties

impl Send for Properties

impl Sync for Properties

impl Unpin for Properties

impl UnwindSafe for Properties

Blanket Implementations

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

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

impl<T> BorrowMut<T> for T where
    T: ?Sized
[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.