Trait Plain

Source
pub trait Plain {
    // Required method
    fn fmt(&self, fmt: &mut Formatter<'_>) -> Result;
}
Expand description

Format trait for the Conjure PLAIN format.

Required Methods§

Source

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Formats this value in its Conjure PLAIN format.

Implementations on Foreign Types§

Source§

impl Plain for bool

Source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Source§

impl Plain for f64

Source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Source§

impl Plain for i32

Source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Source§

impl Plain for str

Source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Source§

impl Plain for String

Source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Source§

impl Plain for [u8]

Source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Source§

impl<T> Plain for &T
where T: ?Sized + Plain,

Source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Implementors§