yass-2 1.0.0

Yet another string similarity library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pub struct ByValue;
pub struct ByReference;

pub trait ReturnKind<'a, T: Sized + 'a> {
    type Type: Sized;
}

impl<'a, T: Sized + 'a> ReturnKind<'a, T> for ByValue {
    type Type = T;
}

impl<'a, T: Sized + 'a> ReturnKind<'a, T> for ByReference {
    type Type = &'a T;
}