pub unsafe fn as_type(&self, ty: P<MuType>) -> P<Value> {
        P(Value {
            hdr: self.hdr.clone(),
            ty: ty,
            v: self.v.clone()
        })
    }
/// disguises a value as another type.
/// This is usually used for treat an integer type as an integer of a different length
/// This method is unsafe
disguises a value as another type.
This is usually used for treat an integer type as an integer of a different length
This method is unsafe
disguises a value as another type . This is usually used for treat an integer type as an integer of a different length This method is unsafe
pub unsafe fn as_type(&self, ty: P<MuType>) -> P<Value> {
        P(Value {
            hdr: self.hdr.clone(),
            ty: ty,
            v: self.v.clone()
        })
    }
pub unsafe fn as_type ( & self , ty : P < MuType > ) -> P < Value > { P ( Value { hdr : self . hdr . clone ( ) , ty : ty , v : self . v . clone ( ) } ) }
disguises a value as another type.
disguises a value as another type .
&self
ty
P<MuType>
&self
ty
P<MuType>