Struct gfx_core::pso::Element [] [src]

pub struct Element<F> {
    pub format: F,
    pub offset: ElemOffset,
    pub stride: ElemStride,
}

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> PartialEq for Element<F>

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

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

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

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

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

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

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

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

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

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

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

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