pub struct PtrToInt {
pub operand: ConstantRef,
pub to_type: TypeRef,
}
Fields
operand: ConstantRef
to_type: TypeRef
Trait Implementations
sourceimpl ConstUnaryOp for PtrToInt
impl ConstUnaryOp for PtrToInt
fn get_operand(&self) -> ConstantRef
sourceimpl PartialEq<PtrToInt> for PtrToInt
impl PartialEq<PtrToInt> for PtrToInt
impl StructuralPartialEq for PtrToInt
Auto Trait Implementations
impl RefUnwindSafe for PtrToInt
impl Send for PtrToInt
impl Sync for PtrToInt
impl Unpin for PtrToInt
impl UnwindSafe for PtrToInt
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more