[][src]Module t9::pad

Converts from a word to keypad digits

let digits = pad::digits_for("rust");
let output = digits.to_string();
assert_eq!(output, String::from("7878"));

Structs

Digits

A wrapper for a sequence of Digits.

Enums

Digit

A digit that can be used with T9.

Functions

digits_for

Takes an input word and returns the corresponding T9 digits needed to return the word.