Struct gfx::device::handle::RawBuffer [] [src]

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

Raw (untyped) Buffer Handle

Methods

impl<R: Resources> RawBuffer<R>
[src]

fn get_info(&self) -> &BufferInfo

Get raw buffer info

fn cmp_ref(&self, lhs: &RawBuffer<R>) -> Ordering

Compare ethe handle by the reference (not data)

Trait Implementations

impl<R: PartialEq + Resources> PartialEq for RawBuffer<R> where R::Buffer: PartialEq
[src]

fn eq(&self, __arg_0: &RawBuffer<R>) -> bool

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

fn ne(&self, __arg_0: &RawBuffer<R>) -> bool

This method tests for !=.

impl<R: Hash + Resources> Hash for RawBuffer<R> where R::Buffer: Hash
[src]

fn hash<__HR: Hasher>(&self, __arg_0: &mut __HR)

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

Feeds a slice of this type into the state provided.

impl<R: Eq + Resources> Eq for RawBuffer<R> where R::Buffer: Eq
[src]

impl<R: Debug + Resources> Debug for RawBuffer<R> where R::Buffer: Debug
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl<R: Clone + Resources> Clone for RawBuffer<R> where R::Buffer: Clone
[src]

fn clone(&self) -> RawBuffer<R>

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<R: Resources> Parameter<R> for RawBuffer<R>
[src]

fn check_block(_var: &BlockVar) -> bool

Check if this parameter is good for a given block.

fn put(&self, id: ParameterId, storage: &mut ParamStorage<R>)

Write into the parameter storage for rendering.

fn check_uniform(&UniformVar) -> bool

Check if this parameter is good for a given uniform.

fn check_texture(&SamplerVar) -> bool

Check if this parameter is good for a given texture.