Skip to main content

CanCopyFrom

Trait CanCopyFrom 

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

Required Associated Types§

Required Methods§

Source

fn copy_into(&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> CanCopyFrom<T, Src> for A
where A: Backend, Src: Backend, T: CopyIntoBackend<Self, Src>,

Source§

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