[][src]Trait glk::gidispatch::ObjRef

pub trait ObjRef {
    const OBJCLASS: class;

    fn as_objref(&self) -> objref;
}

Trait so that functions can accept opaque handles {winid_t,strid_t,frefid_t,schanid_t} and

  • convert them to a generic reference and class pair.

Associated Constants

Loading content...

Required methods

fn as_objref(&self) -> objref

Loading content...

Implementors

impl ObjRef for frefid_t[src]

impl ObjRef for schanid_t[src]

impl ObjRef for strid_t[src]

impl ObjRef for winid_t[src]

Loading content...