pub trait MeasureWith<Ctx> {
    fn measure_with(&self, ctx: &Ctx) -> usize;
}
Expand description

A trait for measuring how large something is; for a byte sequence, it will be its length.

Required methods

How large is Self, given the ctx?

Implementations on Foreign Types

Implementors