pub struct Integer {
pub used_bits: u32,
pub bits: u32,
pub is_signed: bool,
}
Expand description
Represents the physical properties of an integer.
Fields§
§used_bits: u32
The total number of bits used to store the integer.
bits: u32
The number of bits used when performing operations, less than used_bits
.
is_signed: bool
Whether the integer is signed.
Implementations§
Trait Implementations§
impl Copy for Integer
Auto Trait Implementations§
impl Freeze for Integer
impl RefUnwindSafe for Integer
impl Send for Integer
impl Sync for Integer
impl Unpin for Integer
impl UnwindSafe for Integer
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