pub fn push(&mut self, val: T) {
        let new_len = self.len + 1;
        if new_len > self.cap {
            self.grow(new_len);
        }
        let index = self.len;
        self.inner_mut().body[index] = MaybeUninit::new(val);
        self.len = new_len;
    }
/// Push a value to the end of the vector.
Push a value to the end of the vector.
Push a value to the end of the vector .
pub fn push(&mut self, val: T) {
        let new_len = self.len + 1;
        if new_len > self.cap {
            self.grow(new_len);
        }
        let index = self.len;
        self.inner_mut().body[index] = MaybeUninit::new(val);
        self.len = new_len;
    }
pub fn push ( & mut self , val : T ) { let new_len = self . len + 1 ; if new_len > self . cap { self . grow ( new_len ) ; } let index = self . len ; self . inner_mut ( ) . body [ index ] = MaybeUninit :: new ( val ) ; self . len = new_len ; }
Push a value to the end of the vector.
Push a value to the end of the vector .
&mut self
val
T