IntoValue

Trait IntoValue 

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

Required Methods§

Source

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

Implementations on Foreign Types§

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl<'gc, K: IntoValue<'gc>, V: IntoValue<'gc>> IntoValue<'gc> for Vec<(K, V)>

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl<'gc, const N: usize, K: IntoValue<'gc>, V: IntoValue<'gc>> IntoValue<'gc> for [(K, V); N]

Source§

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

Source§

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

Source§

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

Implementors§

Source§

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

Source§

impl<'gc> IntoValue<'gc> for Error<'gc>

Source§

impl<'gc> IntoValue<'gc> for TableEntries<'gc>

Source§

impl<'gc, T: Into<Value<'gc>>> IntoValue<'gc> for T