[][src]Trait runestick::IntoInstFnHash

pub trait IntoInstFnHash: Copy {
    fn to_hash(self) -> Hash;
fn to_name(self) -> String; }

Trait used to determine what can be used as an instance function name.

Required methods

fn to_hash(self) -> Hash

Generate a locally unique hash to check for conflicts.

fn to_name(self) -> String

Get a human readable name for the function.

Loading content...

Implementations on Foreign Types

impl<'a> IntoInstFnHash for &'a str[src]

Loading content...

Implementors

impl IntoInstFnHash for Protocol[src]

Loading content...