pub trait SlIntoRef<'a, T>: Sizedwhere
T: 'a,
Self: BridgedType,{
// Required method
fn sl_into_ref(self, vm: &'a SloshVm) -> VMResult<T>;
}
Expand description
Inverse of SlFromRef
Required Methods§
Sourcefn sl_into_ref(self, vm: &'a SloshVm) -> VMResult<T>
fn sl_into_ref(self, vm: &'a SloshVm) -> VMResult<T>
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.