Lines Matching defs:Length
28 pub struct Length(u32); struct
30 impl Length { impl
91 impl Add for Length { implementation
102 impl Add<u8> for Length { implementation
110 impl Add<u16> for Length { implementation
118 impl Add<u32> for Length { implementation
126 impl Add<usize> for Length { implementation
142 impl Sub for Length { implementation
161 impl From<u8> for Length { implementation
162 fn from(len: u8) -> Length { in from()
167 impl From<u16> for Length { implementation
168 fn from(len: u16) -> Length { in from()
179 impl TryFrom<u32> for Length { implementation
182 fn try_from(len: u32) -> Result<Length> { in try_from()
191 impl TryFrom<usize> for Length { implementation
194 fn try_from(len: usize) -> Result<Length> { in try_from()
209 impl<'a> Decode<'a> for Length { implementation
210 fn decode<R: Reader<'a>>(reader: &mut R) -> Result<Length> { in decode()
245 impl Encode for Length { implementation
246 fn encoded_len(&self) -> Result<Length> { in encoded_len()
276 impl DerOrd for Length { implementation
291 impl fmt::Display for Length { implementation
300 impl<'a> arbitrary::Arbitrary<'a> for Length { implementation
373 fn encoded_len(&self) -> Result<Length> { in encoded_len()
401 fn from(length: IndefiniteLength) -> Option<Length> { in from()
406 impl TryFrom<IndefiniteLength> for Length { implementation
409 fn try_from(length: IndefiniteLength) -> Result<Length> { in try_from()