pub trait MultiDisplay<F> {
    type Display: Display;

    // Required method
    fn display_fmt(&self, f: &F) -> Self::Display;

    // Provided method
    fn display(&self) -> Self::Display
       where F: Default { ... }
}

Required Associated Types§

Required Methods§

source

fn display_fmt(&self, f: &F) -> Self::Display

Provided Methods§

source

fn display(&self) -> Self::Displaywhere F: Default,

Implementations on Foreign Types§

source§

impl MultiDisplay<Encoding> for Signature

§

type Display = String

source§

fn display_fmt(&self, f: &Encoding) -> Self::Display

source§

impl MultiDisplay<Encoding> for PublicKey

§

type Display = String

source§

fn display_fmt(&self, f: &Encoding) -> Self::Display

source§

impl MultiDisplay<Encoding> for PublicKey

Implementors§