Skip to main content

Append

Trait Append 

Source
pub trait Append<T> {
    type Out;

    // Required method
    fn append(self, item: Arc<T>) -> Self::Out;
}
Expand description

Appends at the end, so the list reads in registration order like plugins![..].

Required Associated Types§

Required Methods§

Source

fn append(self, item: Arc<T>) -> Self::Out

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<H, Tail: Append<T>, T> Append<T> for Cons<H, Tail>

Source§

type Out = Cons<H, <Tail as Append<T>>::Out>

Source§

impl<T> Append<T> for Nil

Source§

type Out = Cons<T, Nil>