Trait Digit
leetcode_cli::helper
pub trait Digit<T> { fn digit(self, d: T) -> String; }
Abstract Digit trait, fill the empty space to specific length.
fn digit(self, d: T) -> String
impl Digit<i32> for i32
fn digit(self, d: i32) -> String
impl Digit<i32> for String
impl Digit<i32> for &'static str