Struct gfx::pso::buffer::Element []

pub struct Element<F> {
    pub format: F,
    pub offset: u32,
}

A struct element descriptor.

Fields

Element format

Offset from the beginning of the container, in bytes

Trait Implementations

impl<F> Eq for Element<F> where
    F: Eq

impl<F> PartialEq<Element<F>> for Element<F> where
    F: PartialEq<F>, 

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<F> Clone for Element<F> where
    F: Clone

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<F> Hash for Element<F> where
    F: Hash

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl<F> Copy for Element<F> where
    F: Copy

impl<F> Debug for Element<F> where
    F: Debug

Formats the value using the given formatter.