Skip to main content

CanCopyFromRef

Trait CanCopyFromRef 

Source
pub trait CanCopyFromRef<T, Src>: Backend
where Src: Backend,
{ type Output; // Required method fn copy_to(&self, value: &T) -> Result<Self::Output, CopyError>; }

Required Associated Types§

Required Methods§

Source

fn copy_to(&self, value: &T) -> Result<Self::Output, CopyError>

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<T, Src, A> CanCopyFromRef<T, Src> for A
where A: Backend, Src: Backend, T: CopyToBackend<Self, Src>,

Source§

type Output = <T as CopyToBackend<A, Src>>::Output