Trait bones_framework::prelude::piccolo::conversion::FromValue
pub trait FromValue<'gc>: Sized {
// Required method
fn from_value(
ctx: Context<'gc>,
value: Value<'gc>,
) -> Result<Self, TypeError>;
}
Required Methods§
fn from_value(ctx: Context<'gc>, value: Value<'gc>) -> Result<Self, TypeError>
Object Safety§
This trait is not object safe.