Trait analiticcl::anahash::Anahashable[][src]

pub trait Anahashable {
    fn anahash(&self, alphabet: &Alphabet) -> AnaValue;
fn normalize_to_alphabet(&self, alphabet: &Alphabet) -> NormString; }

Trait for objects that can be anahashed (string-like)

Required methods

fn anahash(&self, alphabet: &Alphabet) -> AnaValue[src]

fn normalize_to_alphabet(&self, alphabet: &Alphabet) -> NormString[src]

Loading content...

Implementations on Foreign Types

impl Anahashable for str[src]

fn anahash(&self, alphabet: &Alphabet) -> AnaValue[src]

Compute the anahash for a given string, according to the alphabet

fn normalize_to_alphabet(&self, alphabet: &Alphabet) -> NormString[src]

Normalize a string via the alphabet

Loading content...

Implementors

Loading content...