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: F
Element format
offset: u32
Offset from the beginning of the container, in bytes
stride: u8
Total container size, in bytes
Trait Implementations
impl<F> Copy for Element<F> where
F: Copy, [src]
F: Copy,
impl<F> Eq for Element<F> where
F: Eq, [src]
F: Eq,
impl<F> PartialEq<Element<F>> for Element<F> where
F: PartialEq<F>, [src]
F: PartialEq<F>,
fn eq(&self, __arg_0: &Element<F>) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Element<F>) -> bool[src]
This method tests for !=.
impl<F> Hash for Element<F> where
F: Hash, [src]
F: Hash,
fn hash<__HF>(&self, __arg_0: &mut __HF) where
__HF: Hasher, [src]
__HF: Hasher,
Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher]. Read more
impl<F> Debug for Element<F> where
F: Debug, [src]
F: Debug,
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>[src]
Formats the value using the given formatter. Read more
impl<F> Clone for Element<F> where
F: Clone, [src]
F: Clone,