RangeEncodingSize

Trait RangeEncodingSize 

Source
pub trait RangeEncodingSize {
    type Min: Unsigned;
    type Max: Unsigned;
    type EncodingSize: EncodingSize;
}
Expand description

A pair of integers that describes a range

Required Associated Types§

Implementations on Foreign Types§

Source§

impl<A, B> RangeEncodingSize for (A, B)
where A: Unsigned + Add<B>, B: Unsigned, Sum<A, B>: Len, Length<Sum<A, B>>: EncodingSize,

Source§

type Min = A

Source§

type Max = B

Source§

type EncodingSize = <<A as Add<B>>::Output as Len>::Output

Implementors§