[][src]Trait balloons::FixedUint

pub trait FixedUint {
    fn from_slice(slice: &[u8]) -> Self;
fn modulo(&self, divisor: u64) -> u64; }

A unsigned integer which can be converted from the return of the internal hash algorithm.

Required methods

fn from_slice(slice: &[u8]) -> Self

Convert from slice.

fn modulo(&self, divisor: u64) -> u64

Find the remainder after division of self by divisor.

Loading content...

Implementors

Loading content...