#[repr(C)]pub struct _ion_int {
pub _owner: *mut c_void,
pub _signum: c_int,
pub _len: SIZE,
pub _digits: *mut II_DIGIT,
}Fields§
§_owner: *mut c_void§_signum: c_int§_len: SIZE§_digits: *mut II_DIGITImplementations§
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.
Trait Implementations§
impl Copy for _ion_int
Auto Trait Implementations§
impl Freeze for _ion_int
impl RefUnwindSafe for _ion_int
impl !Send for _ion_int
impl !Sync for _ion_int
impl Unpin for _ion_int
impl UnwindSafe for _ion_int
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