[][src]Function trinoise::aligned

pub fn aligned(v: u64, base: u8) -> u8

Counts the number of aligned positions to identity map.

The maximum number of aligned positions is equal to the base.

For example, 012 in base 3 is the identity map, therefore the aligned positions are 3.