Skip to main content

ToThinString

Trait ToThinString 

Source
pub trait ToThinString {
    // Required method
    fn to_thin_string(&self) -> ThinString;
}

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T: Display + ?Sized> ToThinString for T

Available on non-crate feature nightly only.