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