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: F
Element format
offset: ElemOffset
Offset from the beginning of the container, in bytes
stride: ElemStride
Total container size, in bytes
Trait Implementations
impl<F: Clone> Clone for Element<F>[src]
fn clone(&self) -> Element<F>[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl<F: Copy> Copy for Element<F>[src]
impl<F: Debug> Debug for Element<F>[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl<F: Eq> Eq for Element<F>[src]
impl<F: Hash> Hash for Element<F>[src]
fn hash<__HF: Hasher>(&self, __arg_0: &mut __HF)[src]
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