StringOrInt

Trait StringOrInt 

pub trait StringOrInt {
    // Required method
    fn to_object(self) -> Object;
}
Expand description

A trait implemented by strings and integers.

Required Methods§

fn to_object(self) -> Object

Implementations on Foreign Types§

§

impl StringOrInt for &str

§

fn to_object(self) -> Object

§

impl StringOrInt for i8

§

fn to_object(self) -> Object

§

impl StringOrInt for i16

§

fn to_object(self) -> Object

§

impl StringOrInt for i32

§

fn to_object(self) -> Object

§

impl StringOrInt for i64

§

fn to_object(self) -> Object

§

impl StringOrInt for u8

§

fn to_object(self) -> Object

§

impl StringOrInt for u16

§

fn to_object(self) -> Object

§

impl StringOrInt for u32

§

fn to_object(self) -> Object

§

impl StringOrInt for String

§

fn to_object(self) -> Object

Implementors§