#[repr(C)]pub struct CCalculationResult {
pub result_value: c_double,
pub error_code: c_int,
}
Expand description
Stores the result of the calculation S
§Fields
result_value
: The calculated result, a C-compatible double-precision floating-point number (c_double
).error_code
: An integer error code (c_int
) indicating the success or failure of the calculation.0
represents success.- Other values indicate specific errors.
Fields§
§result_value: c_double
§error_code: c_int
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CCalculationResult
impl RefUnwindSafe for CCalculationResult
impl Send for CCalculationResult
impl Sync for CCalculationResult
impl Unpin for CCalculationResult
impl UnwindSafe for CCalculationResult
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