pub fn capacity(&self) -> usize {
        if mem::size_of::<T>() == 0 {
            usize::MAX
        } else {
            self.cap
        }
    }
/// The total reserved capacity of the vector.
The total reserved capacity of the vector.
The total reserved capacity of the vector .
pub fn capacity(&self) -> usize {
        if mem::size_of::<T>() == 0 {
            usize::MAX
        } else {
            self.cap
        }
    }
pub fn capacity ( & self ) -> usize { if mem :: size_of :: < T > ( ) == 0 { usize :: MAX } else { self . cap } }
The total reserved capacity of the vector.
The total reserved capacity of the vector .
&self