Trait call_by::Convention[][src]

pub trait Convention: Convention + Sized {
    const TOKEN: Self;
}

There are three fundamental ways to pass a T as input or return a T as output: by Value, by shared immutable Reference, and by unique Mutable reference.

This is a sealed trait, implemented for all three of these conventions.

Associated Constants

const TOKEN: Self[src]

Loading content...

Implementors

impl Convention for Mut[src]

impl Convention for Ref[src]

impl Convention for Val[src]

Loading content...