pub fn with_capacity(capacity: usize) -> Self {
        Self {
            inner: Vec::with_capacity(capacity),
        }
    }
/// Creates a `UString` with the given capacity.
///
/// The string will be able to hold exactly `capacity` partial code units without reallocating.
/// If `capacity` is set to 0, the string will not initially allocate.
Creates a `UString` with the given capacity.
The string will be able to hold exactly `capacity` partial code units without reallocating.
If `capacity` is set to 0, the string will not initially allocate.
Creates a ` UString ` with the given capacity . The string will be able to hold exactly ` capacity ` partial code units without reallocating . If ` capacity ` is set to 0 the string will not initially allocate .
pub fn with_capacity(capacity: usize) -> Self {
        Self {
            inner: Vec::with_capacity(capacity),
        }
    }
pub fn with_capacity ( capacity : usize ) -> Self { Self { inner : Vec :: with_capacity ( capacity ) , } }
Creates a `UString` with the given capacity.
Creates a ` UString ` with the given capacity .
capacity
usize
capacity
usize