Struct gfx::pso::buffer::Element [] [src]

pub struct Element<F> {
    pub format: F,
    pub offset: u32,
}

A struct element descriptor.

Fields

Element format

Offset from the beginning of the container, in bytes

Trait Implementations

impl<F> Copy for Element<F> where
    F: Copy
[src]

impl<F> Clone for Element<F> where
    F: Clone
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<F> Hash for Element<F> where
    F: Hash
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

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]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<F> Debug for Element<F> where
    F: Debug
[src]

[src]

Formats the value using the given formatter.

impl<F> Eq for Element<F> where
    F: Eq
[src]