pub struct BigIntLiteral {
pub digits: String,
pub radix: u32,
}Expand description
A BigInt literal: the source digits and their radix, kept raw so that
js-value can build the arbitrary-precision integer.
Fields§
§digits: StringDigits without prefix, separators or the n suffix.
radix: u322, 8, 10 or 16.
Trait Implementations§
Source§impl Clone for BigIntLiteral
impl Clone for BigIntLiteral
Source§impl Debug for BigIntLiteral
impl Debug for BigIntLiteral
impl Eq for BigIntLiteral
Source§impl PartialEq for BigIntLiteral
impl PartialEq for BigIntLiteral
impl StructuralPartialEq for BigIntLiteral
Auto Trait Implementations§
impl Forget for BigIntLiteral
impl Freeze for BigIntLiteral
impl Move for BigIntLiteral
impl RefUnwindSafe for BigIntLiteral
impl Send for BigIntLiteralwhere
RawVecInner: Send,
impl Sync for BigIntLiteralwhere
RawVecInner: Sync,
impl Unpin for BigIntLiteral
impl UnsafeUnpin for BigIntLiteral
impl UnwindSafe for BigIntLiteralwhere
RawVecInner: UnwindSafe,
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