pub trait SlFromRef<'a, T: BridgedType>where
Self: Sized,{
// Required method
fn sl_from_ref(value: T, vm: &'a SloshVm) -> VMResult<Self>;
}
Required Methods§
Sourcefn sl_from_ref(value: T, vm: &'a SloshVm) -> VMResult<Self>
fn sl_from_ref(value: T, vm: &'a SloshVm) -> VMResult<Self>
Converts to this type from the input type.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.