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

Trait leetcode_cli::helper::Digit[][src]

pub trait Digit<T> {
    fn digit(self, d: T) -> String;
}

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

Required methods

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

Loading content...

Implementations on Foreign Types

impl Digit<i32> for i32[src]

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

impl Digit<i32> for String[src]

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

impl Digit<i32> for &'static str[src]

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

Loading content...

Implementors

Loading content...