[−][src]Trait pear::input::Length
Trait implemented for types that have a length as required by the
Input::Slice
associated type.
Required methods
fn len(&self) -> usize
Returns the length of self
.
While the units of length are unspecified, the returned value must be
consistent with the use of n
in the Input::slice()
method. In
particular, if Input::slice(n)
returns Some(x)
, then x.len()
must return n
.