Literal

Trait Literal 

Source
pub trait Literal {
    // Required method
    fn literal(self) -> Expr;
}

Required Methods§

Source

fn literal(self) -> Expr

Implementations on Foreign Types§

Source§

impl Literal for &str

Source§

fn literal(self) -> Expr

Source§

impl Literal for char

Source§

fn literal(self) -> Expr

Source§

impl Literal for i32

Source§

fn literal(self) -> Expr

Source§

impl Literal for String

Source§

fn literal(self) -> Expr

Implementors§