pub struct U128Surrogate(/* private fields */);Expand description
A u128 in a runtime expression.
Arithmetic panics on overflow or division by zero in every build profile.
Implementations§
Source§impl U128Surrogate
impl U128Surrogate
pub fn eq(&self, rhs: &Self) -> BoolSurrogate
Source§impl U128Surrogate
impl U128Surrogate
pub fn ne(&self, rhs: &Self) -> BoolSurrogate
Source§impl U128Surrogate
impl U128Surrogate
pub fn gt(&self, rhs: &Self) -> BoolSurrogate
Source§impl U128Surrogate
impl U128Surrogate
pub fn lt(&self, rhs: &Self) -> BoolSurrogate
Source§impl U128Surrogate
impl U128Surrogate
pub fn ge(&self, rhs: &Self) -> BoolSurrogate
Source§impl U128Surrogate
impl U128Surrogate
pub fn le(&self, rhs: &Self) -> BoolSurrogate
Trait Implementations§
Source§impl Add for U128Surrogate
impl Add for U128Surrogate
Source§impl Clone for U128Surrogate
impl Clone for U128Surrogate
impl Copy for U128Surrogate
Source§impl Debug for U128Surrogate
impl Debug for U128Surrogate
Source§impl<'de> Deserialize<'de> for U128Surrogate
impl<'de> Deserialize<'de> for U128Surrogate
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for U128Surrogate
impl Display for U128Surrogate
Source§impl Div for U128Surrogate
impl Div for U128Surrogate
Source§impl Mul for U128Surrogate
impl Mul for U128Surrogate
Source§impl RefCast for U128Surrogate
impl RefCast for U128Surrogate
Source§impl Rem for U128Surrogate
impl Rem for U128Surrogate
Source§impl Serialize for U128Surrogate
impl Serialize for U128Surrogate
Source§impl Sub for U128Surrogate
impl Sub for U128Surrogate
Source§impl Surrogate for U128Surrogate
impl Surrogate for U128Surrogate
Source§impl<'__lifetime> Surrogate for &'__lifetime U128Surrogate
impl<'__lifetime> Surrogate for &'__lifetime U128Surrogate
Auto Trait Implementations§
impl Freeze for U128Surrogate
impl RefUnwindSafe for U128Surrogate
impl Send for U128Surrogate
impl Sync for U128Surrogate
impl Unpin for U128Surrogate
impl UnsafeUnpin for U128Surrogate
impl UnwindSafe for U128Surrogate
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