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

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

Program Handle


impl<R: Resources> Program<R>

fn get_info(&self) -> &ProgramInfo

Get program info

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

Compare ethe handle by the reference (not data)

Trait Implementations

impl<R: PartialEq + Resources> PartialEq for Program<R> where R::Program: PartialEq

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

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

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

This method tests for !=.

impl<R: Debug + Resources> Debug for Program<R> where R::Program: Debug

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

Formats the value using the given formatter.

impl<R: Clone + Resources> Clone for Program<R> where R::Program: Clone

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

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more