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