MCPcopy Index your code
hub / github.com/clearloop/leetcode-cli / Digit

Interface Digit

src/helper.rs:12–14  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

10mod digit {
11 /// Abstract Digit trait, fill the empty space to specific length.
12 pub trait Digit<T> {
13 fn digit(self, d: T) -> String;
14 }
15
16 impl Digit<i32> for i32 {
17 fn digit(self, d: i32) -> String {

Callers

nothing calls this directly

Implementers 1

helper.rssrc/helper.rs

Calls

no outgoing calls

Tested by

no test coverage detected