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: PartialEq> PartialEq for Element<F>
[src]
fn eq(&self, __arg_0: &Element<F>) -> bool
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
This method tests for !=
.
impl<F: Hash> Hash for Element<F>
[src]
fn hash<__HF: Hasher>(&self, __arg_0: &mut __HF)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl<F: Eq> Eq for Element<F>
[src]
impl<F: Debug> Debug for Element<F>
[src]
impl<F: Copy> Copy for Element<F>
[src]
impl<F: Clone> Clone for Element<F>
[src]
fn clone(&self) -> Element<F>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more