pub type ION_INT = _ion_int;Aliased Type§
struct ION_INT {
pub _owner: *mut c_void,
pub _signum: i32,
pub _len: i32,
pub _digits: *mut u32,
}Fields§
§_owner: *mut c_void§_signum: i32§_len: i32§_digits: *mut u32Implementations§
Source§impl ION_INT
impl ION_INT
Sourcepub fn try_assign_bigint(&mut self, src: &BigInt) -> IonCResult<()>
pub fn try_assign_bigint(&mut self, src: &BigInt) -> IonCResult<()>
Constructs a BigInt from this ION_INT.
Note that since BigInt does not have a view into its digits,
this method will make an intermediate copy as the big-endian encoded
byte vector that will then be stored into this ION_INT
Sourcepub fn try_to_bigint(&self) -> IonCResult<BigInt>
pub fn try_to_bigint(&self) -> IonCResult<BigInt>
Constructs a BigInt from this ION_INT.