Skip to main content

create_big_int_lit

Function create_big_int_lit 

Source
pub fn create_big_int_lit(value: BigInt) -> Lit
Expand description

Creates a Lit::BigInt from a BigInt.

§Arguments

  • value - The big integer to create a literal for

§Example

let lit_big_int = create_big_int_lit(BigInt::from(123));