Lines Matching defs:Length
21 pub struct Length(u32); struct
23 impl Length { implementation
84 impl Add for Length { implementation
95 impl Add<u8> for Length { implementation
103 impl Add<u16> for Length { implementation
111 impl Add<u32> for Length { implementation
119 impl Add<usize> for Length { implementation
135 impl Sub for Length { implementation
154 impl From<u8> for Length { implementation
155 fn from(len: u8) -> Length { in from()
160 impl From<u16> for Length { implementation
161 fn from(len: u16) -> Length { in from()
172 impl TryFrom<u32> for Length { implementation
175 fn try_from(len: u32) -> Result<Length> { in try_from()
184 impl TryFrom<usize> for Length { implementation
187 fn try_from(len: usize) -> Result<Length> { in try_from()
202 impl<'a> Decode<'a> for Length { implementation
203 fn decode<R: Reader<'a>>(reader: &mut R) -> Result<Length> { in decode()
237 impl Encode for Length { implementation
238 fn encoded_len(&self) -> Result<Length> { in encoded_len()
268 impl DerOrd for Length { implementation
283 impl fmt::Display for Length { implementation