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