bridge_adapters::lisp_adapters

Trait SlIntoRef

Source
pub trait SlIntoRef<'a, T>: Sized
where T: 'a, Self: BridgedType,
{ // Required method fn sl_into_ref(self, vm: &'a SloshVm) -> VMResult<T>; }
Expand description

Inverse of SlFromRef

Required Methods§

Source

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.

Implementors§

Source§

impl<'a, T, U> SlIntoRef<'a, U> for T
where T: BridgedType, U: SlFromRef<'a, T> + 'a,