#[repr(C)]pub struct Rcomplex {
pub r: f64,
pub i: f64,
}
Expand description
R 4.3 redefined Rcomplex
to a union for compatibility with Fortran.
But the old definition is compatible both the union version
and the struct version.
See: https://github.com/extendr/extendr/issues/524
Fields§
§r: f64
§i: f64
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Rcomplex
impl Send for Rcomplex
impl Sync for Rcomplex
impl Unpin for Rcomplex
impl UnwindSafe for Rcomplex
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