pub struct IntPtr64<T: ?Sized = ()> { /* private fields */ }Expand description
Unmanaged 64-bit typed pointer.
Implementations§
Source§impl<T: ?Sized> IntPtr64<T>
impl<T: ?Sized> IntPtr64<T>
Sourcepub const fn member(address: u64, offset: u32) -> IntPtr64<T>
pub const fn member(address: u64, offset: u32) -> IntPtr64<T>
Constructs a pointer with an offset.
Sourcepub const fn cast<U: ?Sized>(self) -> IntPtr64<U>
pub const fn cast<U: ?Sized>(self) -> IntPtr64<U>
Casts the pointer to a different type keeping the pointer address fixed.
Trait Implementations§
Source§impl<T: ?Sized> Ord for IntPtr64<T>
impl<T: ?Sized> Ord for IntPtr64<T>
Source§impl<T: ?Sized> PartialOrd for IntPtr64<T>
impl<T: ?Sized> PartialOrd for IntPtr64<T>
impl<T: ?Sized> Copy for IntPtr64<T>
impl<T: ?Sized> Eq for IntPtr64<T>
Auto Trait Implementations§
impl<T> Freeze for IntPtr64<T>where
T: ?Sized,
impl<T> RefUnwindSafe for IntPtr64<T>where
T: ?Sized,
impl<T> Send for IntPtr64<T>where
T: ?Sized,
impl<T> Sync for IntPtr64<T>where
T: ?Sized,
impl<T> Unpin for IntPtr64<T>where
T: ?Sized,
impl<T> UnwindSafe for IntPtr64<T>where
T: ?Sized,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more