#[repr(C)]pub struct complexi_t {
pub re: c_int,
pub im: c_int,
}Expand description
Complex integer type.
Fields§
§re: c_int\brief Real part.
im: c_int\brief Imaginary part.
Trait Implementations§
Source§impl Clone for complexi_t
impl Clone for complexi_t
Source§fn clone(&self) -> complexi_t
fn clone(&self) -> complexi_t
Returns a duplicate 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 complexi_t
impl Debug for complexi_t
Source§impl Default for complexi_t
impl Default for complexi_t
Source§fn default() -> complexi_t
fn default() -> complexi_t
Returns the “default value” for a type. Read more
impl Copy for complexi_t
Auto Trait Implementations§
impl Freeze for complexi_t
impl RefUnwindSafe for complexi_t
impl Send for complexi_t
impl Sync for complexi_t
impl Unpin for complexi_t
impl UnwindSafe for complexi_t
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