pub type StringBuf<Marker> = NewtypeBuf<Marker, String>;
Aliased Type§
pub struct StringBuf<Marker> { /* private fields */ }
Implementations§
Source§impl<Marker> StringBuf<Marker>
impl<Marker> StringBuf<Marker>
Sourcepub fn with_capacity(capacity: usize) -> Self
pub fn with_capacity(capacity: usize) -> Self
Creates a new empty buffer with at least the specified capacity.