pub(crate) fn new(var: ptr::NonNull<RawValue>) -> Pin<Rc<Upvalue>> {
      Rc::pin(Upvalue {
         ptr: UnsafeCell::new(var),
         closed: UnsafeCell::new(RawValue::from(())),
         _pinned: PhantomPinned,
      })
   }
/// Creates a new upvalue pointing to a live variable.
Creates a new upvalue pointing to a live variable.
Creates a new upvalue pointing to a live variable .
pub(crate) fn new(var: ptr::NonNull<RawValue>) -> Pin<Rc<Upvalue>> {
      Rc::pin(Upvalue {
         ptr: UnsafeCell::new(var),
         closed: UnsafeCell::new(RawValue::from(())),
         _pinned: PhantomPinned,
      })
   }
pub ( crate ) fn new ( var : ptr :: NonNull < RawValue > ) -> Pin < Rc < Upvalue > > { Rc :: pin ( Upvalue { ptr : UnsafeCell :: new ( var ) , closed : UnsafeCell :: new ( RawValue :: from ( ( ) ) ) , _pinned : PhantomPinned , } ) }
Creates a new upvalue pointing to a live variable.
Creates a new upvalue pointing to a live variable .
var
ptr::NonNull<RawValue>