Skip to main content

ToPaddedString

Trait ToPaddedString 

Source
pub trait ToPaddedString {
    // Required method
    fn to_padded_string(&self) -> String;
}

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl ToPaddedString for &mut str

Source§

impl ToPaddedString for &str

Implementors§