pub struct i256 {
pub lo: u128,
pub hi: u128,
}
Expand description
A 256-bit signed integer represented as two 128-bit native-endian limbs.
Fields§
§lo: u128
§hi: u128
Trait Implementations§
Source§impl DInt for i256
impl DInt for i256
Source§fn from_lo_hi(lo: Self::H, hi: Self::H) -> Self
fn from_lo_hi(lo: Self::H, hi: Self::H) -> Self
Constructs an integer using lower and higher half parts
Source§impl MinInt for i256
impl MinInt for i256
Source§impl PartialOrd for i256
impl PartialOrd for i256
impl Copy for i256
impl StructuralPartialEq for i256
Auto Trait Implementations§
impl Freeze for i256
impl RefUnwindSafe for i256
impl Send for i256
impl Sync for i256
impl Unpin for i256
impl UnwindSafe for i256
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