Struct gfx_core::handle::Buffer [] [src]

pub struct Buffer<R: Resources, T>(_, _);

Type-safe buffer handle

Methods

impl<R: Resources, T> Buffer<R, T>
[src]

Get the associated information about the buffer

Get the number of elements in the buffer.

Fails if T is zero-sized.

Trait Implementations

impl<R: Resources, T> Clone for Buffer<R, T> where
    R: Clone
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<R: Resources, T> Debug for Buffer<R, T> where
    R: Debug
[src]

Formats the value using the given formatter.

impl<R: Resources, T> Eq for Buffer<R, T> where
    R: Eq
[src]

impl<R: Resources, T> Hash for Buffer<R, T> where
    R: Hash
[src]

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

Feeds a slice of this type into the given [Hasher]. Read more

impl<R: Resources, T> PartialEq for Buffer<R, T> where
    R: PartialEq
[src]

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

This method tests for !=.