Skip to main content

avatar_role

Function avatar_role 

Source
pub fn avatar_role(name: &str) -> Role
Expand description

The avatar colour a name always lands on. A sum of the bytes is enough: the requirement is that one name always picks the same colour, not that two names rarely collide.