Method lrs::string::String::capacity

Returns the capacity of the string.

Syntax

impl<H> String<H>
    where H: Allocator,
{
    fn capacity(&self) -> usize
}