Struct gfx_core::pso::Element [] [src]

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

A struct element descriptor.

Fields

Element format

Offset from the beginning of the container, in bytes

Trait Implementations

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

[src]

Returns a copy of the value. Read more

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]

[src]

Formats the value using the given formatter.

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

impl<F: Hash> Hash for Element<F>
[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> PartialEq for Element<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 !=.