Struct gfx::pso::buffer::Element
[−]
pub struct Element<F> { pub format: F, pub offset: u32, }
A struct element descriptor.
Fields
format: F
Element format
offset: u32
Offset from the beginning of the container, in bytes
Trait Implementations
impl<F> Eq for Element<F> where
F: Eq,
F: Eq,
impl<F> PartialEq<Element<F>> for Element<F> where
F: PartialEq<F>,
F: PartialEq<F>,
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> Clone for Element<F> where
F: Clone,
F: Clone,
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
impl<F> Hash for Element<F> where
F: Hash,
F: Hash,
fn hash<__HF>(&self, __arg_0: &mut __HF) where
__HF: Hasher,
__HF: Hasher,
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
H: Hasher,
Feeds a slice of this type into the state provided.
impl<F> Copy for Element<F> where
F: Copy,
F: Copy,
impl<F> Debug for Element<F> where
F: Debug,
F: Debug,