Trait rune::macros::IntoLit[][src]

pub trait IntoLit {
    fn into_lit(self, span: Span, storage: &Storage) -> Lit;
}

Helper trait used for things that can be converted into tokens.

Required methods

fn into_lit(self, span: Span, storage: &Storage) -> Lit[src]

Convert the current thing into a token.

Loading content...

Implementations on Foreign Types

impl IntoLit for char[src]

impl IntoLit for u8[src]

impl IntoLit for &str[src]

impl IntoLit for &String[src]

impl IntoLit for String[src]

impl IntoLit for &[u8][src]

impl IntoLit for &[u8; 0][src]

impl IntoLit for &[u8; 1][src]

impl IntoLit for &[u8; 2][src]

impl IntoLit for &[u8; 3][src]

impl IntoLit for &[u8; 4][src]

impl IntoLit for &[u8; 5][src]

impl IntoLit for &[u8; 6][src]

impl IntoLit for &[u8; 7][src]

impl IntoLit for &[u8; 8][src]

impl IntoLit for &[u8; 9][src]

impl IntoLit for &[u8; 10][src]

impl IntoLit for &[u8; 11][src]

impl IntoLit for &[u8; 12][src]

impl IntoLit for &[u8; 13][src]

impl IntoLit for &[u8; 14][src]

impl IntoLit for &[u8; 15][src]

impl IntoLit for &[u8; 16][src]

impl IntoLit for &[u8; 17][src]

impl IntoLit for &[u8; 18][src]

impl IntoLit for &[u8; 19][src]

impl IntoLit for &[u8; 20][src]

impl IntoLit for &[u8; 21][src]

impl IntoLit for &[u8; 22][src]

impl IntoLit for &[u8; 23][src]

impl IntoLit for &[u8; 24][src]

impl IntoLit for &[u8; 25][src]

impl IntoLit for &[u8; 26][src]

impl IntoLit for &[u8; 27][src]

impl IntoLit for &[u8; 28][src]

impl IntoLit for &[u8; 29][src]

impl IntoLit for &[u8; 30][src]

impl IntoLit for &[u8; 31][src]

Loading content...

Implementors

impl<T> IntoLit for T where
    Number: From<T>, 
[src]

Loading content...