PushArrayTo

Trait PushArrayTo 

Source
pub trait PushArrayTo<S, N>
where S: Set, N: Array<<S as Set>::Elem>,
{ // Required method fn push_to(element: N::Array, set: &mut S); }

Required Methods§

Source

fn push_to(element: N::Array, set: &mut S)

This method tells this type how it can be pushed to a set as an array.

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<S: Set + Push<<S as Set>::Elem>, N: Array<<S as Set>::Elem>> PushArrayTo<S, N> for S::Elem
where <S as Set>::Elem: Clone,