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 LogosValue

A value the exact extension reaches prints as the interpreter prints it: its canonical form, the exact types in their own notation.

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 Value

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 ()

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 GCounter

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 LogosComplex

Source§

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

Source§

impl Showable for LogosComplexF

The floating-point complex prints like the exact one (2+i, 4+6i) via its Display.

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 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 LogosTuple

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 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<K: Showable + Eq + Hash, V: Showable> Showable for LogosMap<K, V>

Source§

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

Source§

impl<K: Showable + Hash + Eq + Clone + Ord, T: Showable + Ord + Clone + Default> Showable for ORMap<K, LatestWrite<T>>

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 + Clone + PartialEq> Showable for RGA<T>

Source§

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

Source§

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

Source§

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

Source§

impl<T: Showable + Hash + Eq + Clone + Ord, B: SetBias> Showable for ORSet<T, B>

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 + ?Sized> Showable for Box<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 LWWRegister<T>

Source§

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

Source§

impl<T: Showable> Showable for LogosOpt<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> Showable for Vec<T>

Source§

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

Source§

impl<T: Showable, E: Showable> Showable for Result<T, E>

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§