pub unsafe fn push<T>(&mut self, value: T) {
        let mut current = self.get_current_location();
        current -= size_of::<T>();
        let ptr = current.as_mut();
        *ptr = value;
        self.set_current_location(current);
    }
/// Pushes a value on the stack.
/// Unsafety: might go out of bounds, might push invalid value, might data race.
/// Data race can be prevented if the stack is not shared yet (e.g. on trampoline setup).
Pushes a value on the stack.
Unsafety: might go out of bounds, might push invalid value, might data race.
Data race can be prevented if the stack is not shared yet .
Pushes a value on the stack . Unsafety : might go out of bounds might push invalid value might data race . Data race can be prevented if the stack is not shared yet .
pub unsafe fn push<T>(&mut self, value: T) {
        let mut current = self.get_current_location();
        current -= size_of::<T>();
        let ptr = current.as_mut();
        *ptr = value;
        self.set_current_location(current);
    }
pub unsafe fn push < T > ( & mut self , value : T ) { let mut current = self . get_current_location ( ) ; current -= size_of :: < T > ( ) ; let ptr = current . as_mut ( ) ; * ptr = value ; self . set_current_location ( current ) ; }
Pushes a value on the stack.
Pushes a value on the stack .
&mut self
value
T
&mut self
value
T