stratus::ext

Trait DisplayExt

Source
pub trait DisplayExt {
    // Required method
    fn to_string_ext(&self) -> String;
}
Expand description

Allows to implement to_string for types that does not have it.

Required Methods§

Source

fn to_string_ext(&self) -> String

to_string for types that does not have it implemented.

Implementations on Foreign Types§

Source§

impl DisplayExt for Duration

Source§

impl DisplayExt for SubscriptionId<'_>

Implementors§