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