pub fn as_ref_or_iref(&self) -> (P<MuType>, Address) {
        match self {
            &APIHandleValue::Ref(ref ty, addr) | &APIHandleValue::IRef(ref ty, addr) => (
                ty.clone(),
                addr
            ),
            _ => panic!("expected Ref or IRef handle")
        }
    }
/// matches the handle as ref or iref
matches the handle as ref or iref
matches the handle as ref or iref
pub fn as_ref_or_iref(&self) -> (P<MuType>, Address) {
        match self {
            &APIHandleValue::Ref(ref ty, addr) | &APIHandleValue::IRef(ref ty, addr) => (
                ty.clone(),
                addr
            ),
            _ => panic!("expected Ref or IRef handle")
        }
    }
pub fn as_ref_or_iref ( & self ) -> ( P < MuType > , Address ) { match self { & APIHandleValue :: Ref ( ref ty , addr ) | & APIHandleValue :: IRef ( ref ty , addr ) => ( ty . clone ( ) , addr ) , _ => panic ! ( " " ) } }
matches the handle as ref or iref
matches the handle as ref or iref
&self
&self