Trait bones_framework::prelude::piccolo::conversion::IntoValue

pub trait IntoValue<'gc> {
    // Required method
    fn into_value(self, ctx: Context<'gc>) -> Value<'gc>;
}

Required Methods§

fn into_value(self, ctx: Context<'gc>) -> Value<'gc>

Implementations on Foreign Types§

§

impl<'a, 'gc> IntoValue<'gc> for &'a bool

§

fn into_value(self, ctx: Context<'gc>) -> Value<'gc>

§

impl<'a, 'gc> IntoValue<'gc> for &'a f32

§

fn into_value(self, ctx: Context<'gc>) -> Value<'gc>

§

impl<'a, 'gc> IntoValue<'gc> for &'a f64

§

fn into_value(self, ctx: Context<'gc>) -> Value<'gc>

§

impl<'a, 'gc> IntoValue<'gc> for &'a i8

§

fn into_value(self, ctx: Context<'gc>) -> Value<'gc>

§

impl<'a, 'gc> IntoValue<'gc> for &'a i16

§

fn into_value(self, ctx: Context<'gc>) -> Value<'gc>

§

impl<'a, 'gc> IntoValue<'gc> for &'a i32

§

fn into_value(self, ctx: Context<'gc>) -> Value<'gc>

§

impl<'a, 'gc> IntoValue<'gc> for &'a i64

§

fn into_value(self, ctx: Context<'gc>) -> Value<'gc>

§

impl<'a, 'gc> IntoValue<'gc> for &'a u8

§

fn into_value(self, ctx: Context<'gc>) -> Value<'gc>

§

impl<'a, 'gc> IntoValue<'gc> for &'a u16

§

fn into_value(self, ctx: Context<'gc>) -> Value<'gc>

§

impl<'a, 'gc> IntoValue<'gc> for &'a u32

§

fn into_value(self, ctx: Context<'gc>) -> Value<'gc>

§

impl<'a, 'gc, T> IntoValue<'gc> for &'a Option<T>
where &'a T: IntoValue<'gc>,

§

fn into_value(self, ctx: Context<'gc>) -> Value<'gc>

§

impl<'gc> IntoValue<'gc> for &'static str

§

fn into_value(self, ctx: Context<'gc>) -> Value<'gc>

§

impl<'gc> IntoValue<'gc> for bool

§

fn into_value(self, _: Context<'gc>) -> Value<'gc>

§

impl<'gc> IntoValue<'gc> for f32

§

fn into_value(self, _: Context<'gc>) -> Value<'gc>

§

impl<'gc> IntoValue<'gc> for f64

§

fn into_value(self, _: Context<'gc>) -> Value<'gc>

§

impl<'gc> IntoValue<'gc> for i8

§

fn into_value(self, _: Context<'gc>) -> Value<'gc>

§

impl<'gc> IntoValue<'gc> for i16

§

fn into_value(self, _: Context<'gc>) -> Value<'gc>

§

impl<'gc> IntoValue<'gc> for i32

§

fn into_value(self, _: Context<'gc>) -> Value<'gc>

§

impl<'gc> IntoValue<'gc> for i64

§

fn into_value(self, _: Context<'gc>) -> Value<'gc>

§

impl<'gc> IntoValue<'gc> for u8

§

fn into_value(self, _: Context<'gc>) -> Value<'gc>

§

impl<'gc> IntoValue<'gc> for u16

§

fn into_value(self, _: Context<'gc>) -> Value<'gc>

§

impl<'gc> IntoValue<'gc> for u32

§

fn into_value(self, _: Context<'gc>) -> Value<'gc>

§

impl<'gc> IntoValue<'gc> for String

§

fn into_value(self, ctx: Context<'gc>) -> Value<'gc>

§

impl<'gc, 'a, T> IntoValue<'gc> for &'a [T]
where &'a T: IntoValue<'gc>,

§

fn into_value(self, ctx: Context<'gc>) -> Value<'gc>

§

impl<'gc, T> IntoValue<'gc> for Option<T>
where T: IntoValue<'gc>,

§

fn into_value(self, ctx: Context<'gc>) -> Value<'gc>

§

impl<'gc, T> IntoValue<'gc> for Vec<T>
where T: IntoValue<'gc>,

§

fn into_value(self, ctx: Context<'gc>) -> Value<'gc>

§

impl<'gc, T, const N: usize> IntoValue<'gc> for [T; N]
where T: IntoValue<'gc>,

§

fn into_value(self, ctx: Context<'gc>) -> Value<'gc>

Implementors§

§

impl<'a, 'gc> IntoValue<'gc> for &'a Function<'gc>

§

impl<'a, 'gc> IntoValue<'gc> for &'a Value<'gc>

§

impl<'a, 'gc> IntoValue<'gc> for &'a Callback<'gc>

§

impl<'a, 'gc> IntoValue<'gc> for &'a Closure<'gc>

§

impl<'a, 'gc> IntoValue<'gc> for &'a bones_framework::prelude::piccolo::String<'gc>

§

impl<'a, 'gc> IntoValue<'gc> for &'a Table<'gc>

§

impl<'a, 'gc> IntoValue<'gc> for &'a Thread<'gc>

§

impl<'a, 'gc> IntoValue<'gc> for &'a UserData<'gc>

§

impl<'gc> IntoValue<'gc> for Function<'gc>

§

impl<'gc> IntoValue<'gc> for MetaMethod

§

impl<'gc> IntoValue<'gc> for Value<'gc>

§

impl<'gc> IntoValue<'gc> for Callback<'gc>

§

impl<'gc> IntoValue<'gc> for Closure<'gc>

§

impl<'gc> IntoValue<'gc> for bones_framework::prelude::piccolo::String<'gc>

§

impl<'gc> IntoValue<'gc> for Table<'gc>

§

impl<'gc> IntoValue<'gc> for Thread<'gc>

§

impl<'gc> IntoValue<'gc> for UserData<'gc>