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

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

A struct element descriptor.

Fields

format

Element format

offset

Offset from the beginning of the container, in bytes

stride

Total container size, in bytes

Trait Implementations

Derived Implementations

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

fn eq(&self, __arg_0: &Element<F>) -> bool

fn ne(&self, __arg_0: &Element<F>) -> bool

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

fn hash<__H>(&self, __arg_0: &mut __H) where __H: Hasher

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

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

fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>

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

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

fn clone(&self) -> Element<F>

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