Trait bones_framework::prelude::piccolo::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.