bridge_adapters::lisp_adapters

Trait SlAsMut

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

Required Methods§

Source

fn sl_as_mut(&mut self, vm: &'a mut SloshVm) -> VMResult<&'a mut T>

Converts this type into a mutable reference of the (usually inferred) input type.

Implementations on Foreign Types§

Source§

impl<'a> SlAsMut<'a, String> for &Value

Source§

fn sl_as_mut(&mut self, vm: &'a mut SloshVm) -> VMResult<&'a mut String>

Source§

impl<'a, T, U: ?Sized> SlAsMut<'a, U> for &'a mut T
where T: SlAsMut<'a, U> + ?Sized, &'a mut T: BridgedType,

Source§

fn sl_as_mut(&mut self, vm: &'a mut SloshVm) -> VMResult<&'a mut U>

Implementors§