[][src]Trait qjs::NewAtom

pub trait NewAtom {
    fn new_atom(self, context: &ContextRef) -> JSAtom;
}

Create or find an Atom base on &str, *const c_char or u32.

Required methods

fn new_atom(self, context: &ContextRef) -> JSAtom

Create or find an Atom in the context.

Loading content...

Implementations on Foreign Types

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

impl NewAtom for *const c_char[src]

impl NewAtom for u32[src]

Loading content...

Implementors

Loading content...