bridge_adapters::lisp_adapters

Trait SlFromRefMut

Source
pub trait SlFromRefMut<'a, T: BridgedType>
where Self: Sized,
{ // Required method fn sl_from_ref_mut(value: T, vm: &'a mut SloshVm) -> VMResult<Self>; }

Required Methods§

Source

fn sl_from_ref_mut(value: T, vm: &'a mut 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.

Implementations on Foreign Types§

Source§

impl<'a> SlFromRefMut<'a, Value> for &'a mut VMHashMap

Source§

fn sl_from_ref_mut(value: Value, vm: &'a mut SloshVm) -> VMResult<Self>

Source§

impl<'a> SlFromRefMut<'a, Value> for &'a mut String

This delegates to SlAsMut appropriately.

Source§

fn sl_from_ref_mut(value: Value, vm: &'a mut SloshVm) -> VMResult<Self>

Implementors§