Trait stageleft::runtime_support::ParseFromLiteral

source ·
pub trait ParseFromLiteral {
    // Required method
    fn parse_from_literal(literal: &Expr) -> Self;
}

Required Methods§

source

fn parse_from_literal(literal: &Expr) -> Self

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl ParseFromLiteral for bool

source§

fn parse_from_literal(literal: &Expr) -> Self

source§

impl ParseFromLiteral for i8

source§

fn parse_from_literal(literal: &Expr) -> Self

source§

impl ParseFromLiteral for i16

source§

fn parse_from_literal(literal: &Expr) -> Self

source§

impl ParseFromLiteral for i32

source§

fn parse_from_literal(literal: &Expr) -> Self

source§

impl ParseFromLiteral for i64

source§

fn parse_from_literal(literal: &Expr) -> Self

source§

impl ParseFromLiteral for i128

source§

fn parse_from_literal(literal: &Expr) -> Self

source§

impl ParseFromLiteral for isize

source§

fn parse_from_literal(literal: &Expr) -> Self

source§

impl ParseFromLiteral for u8

source§

fn parse_from_literal(literal: &Expr) -> Self

source§

impl ParseFromLiteral for u16

source§

fn parse_from_literal(literal: &Expr) -> Self

source§

impl ParseFromLiteral for u32

source§

fn parse_from_literal(literal: &Expr) -> Self

source§

impl ParseFromLiteral for u64

source§

fn parse_from_literal(literal: &Expr) -> Self

source§

impl ParseFromLiteral for u128

source§

fn parse_from_literal(literal: &Expr) -> Self

source§

impl ParseFromLiteral for usize

source§

fn parse_from_literal(literal: &Expr) -> Self

Implementors§