pub trait With<T> {
    type Output;

    // Required method
    fn with(&self, other: &T) -> Self::Output;
}
Expand description

With describes a simple means of concating several objects together

Required Associated Types§

source

type Output

With::Output must be a superposition of self and T

Required Methods§

source

fn with(&self, other: &T) -> Self::Output

With::with accepts an owned instance of the given type and returns a With::Output instance

Implementors§