Trait lib_ruby_parser::containers::helpers::PtrAPI[][src]

pub trait PtrAPI<T> {
    fn unptr(self) -> T
    where
        Self: Sized
; }
Expand description

Shared Ptr API, implemented for both ExternalPtr and Box

Required methods

Consumes self and returns value located on the stack Deref on Box is very special, we can’t emulate if for our own Ptr<T>

Implementations on Foreign Types

Implementors