Skip to main content

Infoable

Trait Infoable 

Source
pub trait Infoable {
    // Required method
    fn info(&self, f: &mut impl Write) -> Result<()>;
}

Required Methods§

Source

fn info(&self, f: &mut impl Write) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl Infoable for String

Source§

fn info(&self, f: &mut impl Write) -> Result<()>

Source§

impl Infoable for Rational

Source§

fn info(&self, f: &mut impl Write) -> Result<()>

Source§

impl Infoable for Fraction

Source§

fn info(&self, f: &mut impl Write) -> Result<()>

Implementors§