rune::core::object::tagged

Trait CloneIn

Source
pub(crate) trait CloneIn<'new, T>
where T: 'new,
{ // Required method fn clone_in<const C: bool>(&self, bk: &'new Block<C>) -> Gc<T>; }

Required Methods§

Source

fn clone_in<const C: bool>(&self, bk: &'new Block<C>) -> Gc<T>

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<'new> CloneIn<'new, &'new Cons> for Cons

Source§

impl<'new> CloneIn<'new, &'new LispFloat> for LispFloat

Source§

impl<'new> CloneIn<'new, &'new ByteFn> for ByteFn

Source§

impl<'new> CloneIn<'new, &'new LispHashTable> for LispHashTable

Source§

impl<'new> CloneIn<'new, &'new ByteString> for ByteString

Source§

impl<'new> CloneIn<'new, &'new LispString> for LispString

Source§

impl<'new> CloneIn<'new, &'new LispVec> for LispVec

Source§

impl<'new> CloneIn<'new, &'new Record> for Record

Source§

impl<'new, T, U, E> CloneIn<'new, U> for Gc<T>
where T: WithLifetime<'new, Out = U>, Gc<U>: TryFrom<Gc<ObjectType<'new>>, Error = E> + 'new,