Struct swc_ecma_ast::BigInt
source · [−]pub struct BigInt {
pub span: Span,
pub value: Box<BigIntValue>,
pub raw: Option<Atom>,
}
Fields
span: Span
value: Box<BigIntValue>
raw: Option<Atom>
Use None
value only for transformations to avoid recalculate
characters in big integer
Trait Implementations
sourceimpl<'de> Deserialize<'de> for BigInt
impl<'de> Deserialize<'de> for BigInt
sourcefn 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
sourceimpl EqIgnoreSpan for BigInt
impl EqIgnoreSpan for BigInt
fn eq_ignore_span(&self, other: &Self) -> bool
sourceimpl From<BigInt> for BigInt
impl From<BigInt> for BigInt
sourcefn from(value: BigIntValue) -> Self
fn from(value: BigIntValue) -> Self
Converts to this type from the input type.
impl Eq for BigInt
impl StructuralEq for BigInt
impl StructuralPartialEq for BigInt
Auto Trait Implementations
impl RefUnwindSafe for BigInt
impl Send for BigInt
impl Sync for BigInt
impl Unpin for BigInt
impl UnwindSafe for BigInt
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more