Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Trait Digit

Source
pub trait Digit<T> {
    // Required method
    fn digit(self, d: T) -> String;
}
Expand description

Abstract Digit trait, fill the empty space to specific length.

Required Methods§

Source

fn digit(self, d: T) -> String

Implementations on Foreign Types§

Source§

impl Digit<i32> for &'static str

Source§

fn digit(self, d: i32) -> String

Source§

impl Digit<i32> for i32

Source§

fn digit(self, d: i32) -> String

Source§

impl Digit<i32> for String

Source§

fn digit(self, d: i32) -> String

Implementors§