MCPcopy Create free account
hub / github.com/douchuan/algorithm / radix

Method radix

src/strings/alphabet.rs:132–134  ·  view source on GitHub ↗

Returns the number of characters in this alphabet (the radix)

(&self)

Source from the content-addressed store, hash-verified

130
131 /// Returns the number of characters in this alphabet (the radix)
132 pub fn radix(&self) -> usize {
133 self.radix
134 }
135
136 /// Returns the binary logarithm of the number of characters in this alphabet
137 pub fn lg_r(&self) -> usize {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected