Struct gfx::pso::buffer::Element
[−]
[src]
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> Copy for Element<F> where
F: Copy,
[src]
F: Copy,
impl<F> Clone for Element<F> where
F: Clone,
[src]
F: Clone,
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> 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> 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> 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.
impl<F> Eq for Element<F> where
F: Eq,
[src]
F: Eq,