pub struct u256 {
pub lo: u128,
pub hi: u128,
}
Expand description
A 256-bit unsigned integer represented as two 128-bit native-endian limbs.
Fields§
§lo: u128
§hi: u128
Implementations§
Trait Implementations§
Source§impl DInt for u256
impl DInt for u256
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 u256
impl MinInt for u256
Source§impl PartialOrd for u256
impl PartialOrd for u256
impl Copy for u256
impl StructuralPartialEq for u256
Auto Trait Implementations§
impl Freeze for u256
impl RefUnwindSafe for u256
impl Send for u256
impl Sync for u256
impl Unpin for u256
impl UnwindSafe for u256
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