#[cfg(target_arch = "x86_64")]
pub mod x86_64;
#[cfg(target_arch = "x86_64")]
pub use x86_64::*;
pub mod macros;
pub mod traits;
pub struct Arch;
impl core::ops::Sub for Pointer {
type Output = usize;
fn sub(self, rhs: Self) -> Self::Output {
self.0 as usize - rhs.0 as usize }
}
impl core::ops::Add<usize> for Pointer {
type Output = Pointer;
fn add(self, offset: usize) -> Self::Output {
Pointer(unsafe { self.0.add(offset) })
}
}