pub struct U256 {
left: u128,
right: u128,
}
Expand description
Duct tape two u128
s together.
Fields§
§left: u128
§right: u128
Implementations§
Trait Implementations§
source§impl BitAnd for U256
impl BitAnd for U256
Syntactic sugar to provide the regular &
, |
and !
bitwise operator notation.
source§impl BitAndAssign for U256
impl BitAndAssign for U256
source§fn bitand_assign(&mut self, rhs: U256)
fn bitand_assign(&mut self, rhs: U256)
Performs the
&=
operation. Read moreimpl Copy 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)