pub trait LengthProperty {
// Required method
fn length_property(&self) -> usize;
}Expand description
Any type that implements this trait provides access to its len method
to be used by the implementation of the
AssertHasLength assertion.
Required Methods§
Sourcefn length_property(&self) -> usize
fn length_property(&self) -> usize
Provides access to the len property.