Struct decnumber_sys::decContext
source · #[repr(C)]pub struct decContext {
pub digits: i32,
pub emax: i32,
pub emin: i32,
pub round: rounding,
pub traps: u32,
pub status: u32,
pub clamp: u8,
}
Fields§
§digits: i32
§emax: i32
§emin: i32
§round: rounding
§traps: u32
§status: u32
§clamp: u8
Trait Implementations§
source§impl Clone for decContext
impl Clone for decContext
source§fn clone(&self) -> decContext
fn clone(&self) -> decContext
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for decContext
impl Debug for decContext
impl Copy for decContext
Auto Trait Implementations§
impl Freeze for decContext
impl RefUnwindSafe for decContext
impl Send for decContext
impl Sync for decContext
impl Unpin for decContext
impl UnwindSafe for decContext
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)