Skip to main content

Showable

Trait Showable 

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

Custom trait for LOGOS Show verb - provides clean, natural output. Primitives display without quotes, collections display with brackets.

Required Methods§

Source

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

Implementations on Foreign Types§

Source§

impl Showable for &str

Source§

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

Source§

impl Showable for bool

Source§

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

Source§

impl Showable for char

Source§

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

Source§

impl Showable for f64

Source§

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

Source§

impl Showable for i32

Source§

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

Source§

impl Showable for i64

Source§

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

Source§

impl Showable for u8

Source§

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

Source§

impl Showable for u64

Source§

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

Source§

impl Showable for usize

Source§

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

Source§

impl Showable for String

Source§

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

Source§

impl Showable for Duration

Source§

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

Source§

impl Showable for GCounter

Source§

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

Source§

impl Showable for LogosComplex

Source§

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

Source§

impl Showable for LogosDecimal

Source§

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

Source§

impl Showable for LogosInt

The exact compiled integer (i64 fast path, BigInt spill) prints as the plain number — indistinguishable from an i64 Show.

Source§

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

Source§

impl Showable for LogosModular

Source§

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

Source§

impl Showable for LogosMoney

Source§

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

Source§

impl Showable for LogosQuantity

Source§

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

Source§

impl Showable for LogosRational

Source§

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

Source§

impl Showable for LogosUuid

Source§

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

Source§

impl Showable for PNCounter

Source§

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

Source§

impl Showable for Value

Source§

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

Source§

impl<K: Showable + Eq + Hash, V: Showable> Showable for LogosMap<K, V>

Source§

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

Source§

impl<T: Showable + Clone + PartialEq> Showable for MVRegister<T>

Source§

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

Source§

impl<T: Showable + ?Sized> Showable for &T

Source§

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

Source§

impl<T: Showable> Showable for Option<T>

Source§

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

Source§

impl<T: Showable> Showable for [T]

Source§

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

Source§

impl<T: Showable> Showable for Vec<T>

Source§

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

Source§

impl<T: Showable> Showable for LWWRegister<T>

Source§

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

Source§

impl<T: Showable> Showable for LogosSeq<T>

Source§

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

Source§

impl<T: Showable, S: BuildHasher> Showable for IndexSet<T, S>

Source§

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

Implementors§