Trait mun_runtime::TypedHandle[][src]

pub trait TypedHandle {
    fn new(token: usize) -> Self;
fn token(&self) -> usize; }

A type to uniquely index typed collections.

Required methods

fn new(token: usize) -> Self[src]

Constructs a new TypedHandle.

fn token(&self) -> usize[src]

Retrieves the handle’s token.

Loading content...

Implementors

impl TypedHandle for ErrorHandle[src]

Loading content...