ListAppend

Trait ListAppend 

Source
pub trait ListAppend {
    type Output<T>: DropValue;

    // Required method
    fn append<T>(self, value: *const T) -> Self::Output<T>;
}

Required Associated Types§

Required Methods§

Source

fn append<T>(self, value: *const T) -> Self::Output<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<V> ListAppend for Node<V>

Source§

type Output<T> = Node<V, Node<T>>

Source§

impl<V, N: ListAppend + DropValue> ListAppend for Node<V, N>

Source§

type Output<T> = Node<V, <N as ListAppend>::Output<T>>