Struct edlang_ir::scalar_int::ScalarInt
source · #[repr(packed(1))]pub struct ScalarInt {
pub data: u128,
pub size: NonZeroU8,
}
Fields§
§data: u128
§size: NonZeroU8
Size in bytes
Implementations§
Trait Implementations§
source§impl Ord for ScalarInt
impl Ord for ScalarInt
source§impl PartialEq for ScalarInt
impl PartialEq for ScalarInt
source§impl PartialOrd for ScalarInt
impl PartialOrd for ScalarInt
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ScalarInt
impl Eq for ScalarInt
impl StructuralPartialEq for ScalarInt
Auto Trait Implementations§
impl Freeze for ScalarInt
impl RefUnwindSafe for ScalarInt
impl Send for ScalarInt
impl Sync for ScalarInt
impl Unpin for ScalarInt
impl UnwindSafe for ScalarInt
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