Struct rustc_std_workspace_core::num::bignum::Big32x40
source · pub struct Big32x40 {
size: usize,
base: [u32; 40],
}
🔬This is a nightly-only experimental API. (
core_private_bignum
)Expand description
Stack-allocated arbitrary-precision (up to certain limit) integer.
This is backed by a fixed-size array of given type (“digit”).
While the array is not very large (normally some hundred bytes),
copying it recklessly may result in the performance hit.
Thus this is intentionally not Copy
.
All operations available to bignums panic in the case of overflows. The caller is responsible to use large enough bignum types.
Fields§
§size: usize
🔬This is a nightly-only experimental API. (
§core_private_bignum
)base: [u32; 40]
🔬This is a nightly-only experimental API. (
core_private_bignum
)Auto Trait Implementations§
impl RefUnwindSafe for Big32x40
impl Send for Big32x40
impl Sync for Big32x40
impl Unpin for Big32x40
impl UnwindSafe for Big32x40
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