pub trait Serialprintablewhere
    Self: Sized,{
    type Parameters;

    // Required methods
    fn print_2(self, params: Self::Parameters);
    fn default_parameters() -> Self::Parameters;

    // Provided method
    fn print(self) { ... }
}

Required Associated Types§

Required Methods§

source

fn print_2(self, params: Self::Parameters)

source

fn default_parameters() -> Self::Parameters

Provided Methods§

source

fn print(self)

Implementations on Foreign Types§

source§

impl Serialprintable for i32

§

type Parameters = Base

source§

fn print_2(self, params: Self::Parameters)

source§

fn default_parameters() -> Self::Parameters

source§

impl Serialprintable for i16

§

type Parameters = Base

source§

fn print_2(self, params: Self::Parameters)

source§

fn default_parameters() -> Self::Parameters

source§

impl Serialprintable for u32

§

type Parameters = Base

source§

fn print_2(self, params: Self::Parameters)

source§

fn default_parameters() -> Self::Parameters

source§

impl Serialprintable for &str

§

type Parameters = ()

source§

fn print_2(self, _params: Self::Parameters)

source§

fn default_parameters() -> Self::Parameters

source§

impl Serialprintable for &[u8]

§

type Parameters = ()

source§

fn print_2(self, _params: Self::Parameters)

source§

fn default_parameters() -> Self::Parameters

source§

impl Serialprintable for u16

§

type Parameters = Base

source§

fn print_2(self, params: Self::Parameters)

source§

fn default_parameters() -> Self::Parameters

Implementors§

source§

impl Serialprintable for Pstring

§

type Parameters = ()

source§

impl<const N: usize> Serialprintable for String<N>

§

type Parameters = ()