pub struct Comp<R: RealArithmetic> {
pub r: R,
pub i: R,
}
Fields§
§r: R
§i: R
Implementations§
Source§impl<R: RealArithmetic> Comp<R>
impl<R: RealArithmetic> Comp<R>
Trait Implementations§
Source§impl<R: RealArithmetic> Add for Comp<R>
impl<R: RealArithmetic> Add for Comp<R>
Source§impl<R: RealArithmetic> AddAssign for Comp<R>
impl<R: RealArithmetic> AddAssign for Comp<R>
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+=
operation. Read moreSource§impl<R: Reals> CircularTrig for Comp<R>
impl<R: Reals> CircularTrig for Comp<R>
Source§impl<R: Reals> CircularTrigInv for Comp<R>
impl<R: Reals> CircularTrigInv for Comp<R>
Source§impl<R: RealArithmetic> Div for Comp<R>
impl<R: RealArithmetic> Div for Comp<R>
Source§impl<R: RealArithmetic> DivAssign for Comp<R>
impl<R: RealArithmetic> DivAssign for Comp<R>
Source§fn div_assign(&mut self, rhs: Self)
fn div_assign(&mut self, rhs: Self)
Performs the
/=
operation. Read moreSource§impl<R: Reals> Exponential for Comp<R>
impl<R: Reals> Exponential for Comp<R>
Source§impl<R: Reals> HyperbolicTrig for Comp<R>
impl<R: Reals> HyperbolicTrig for Comp<R>
Source§impl<R: Reals> HyperbolicTrigInv for Comp<R>
impl<R: Reals> HyperbolicTrigInv for Comp<R>
Source§impl<R: RealArithmetic> Identity for Comp<R>
impl<R: RealArithmetic> Identity for Comp<R>
Source§impl<R: RealArithmetic> Mul for Comp<R>
impl<R: RealArithmetic> Mul for Comp<R>
Source§impl<R: RealArithmetic> MulAssign for Comp<R>
impl<R: RealArithmetic> MulAssign for Comp<R>
Source§fn mul_assign(&mut self, rhs: Self)
fn mul_assign(&mut self, rhs: Self)
Performs the
*=
operation. Read moreSource§impl<R: RealArithmetic> Neg for Comp<R>
impl<R: RealArithmetic> Neg for Comp<R>
Source§impl<R: RealArithmetic> PartialEq for Comp<R>
impl<R: RealArithmetic> PartialEq for Comp<R>
Source§impl<R: RealArithmetic> PartialOrd for Comp<R>
impl<R: RealArithmetic> PartialOrd for Comp<R>
Source§impl<R: RealArithmetic + PowersOfTen> PowersOfTen for Comp<R>
impl<R: RealArithmetic + PowersOfTen> PowersOfTen for Comp<R>
Source§impl<R: RealArithmetic> Rem for Comp<R>
impl<R: RealArithmetic> Rem for Comp<R>
Source§impl<R: RealArithmetic> RemAssign for Comp<R>
impl<R: RealArithmetic> RemAssign for Comp<R>
Source§fn rem_assign(&mut self, rhs: Self)
fn rem_assign(&mut self, rhs: Self)
Performs the
%=
operation. Read moreSource§impl<R: RealArithmetic> Sub for Comp<R>
impl<R: RealArithmetic> Sub for Comp<R>
Source§impl<R: RealArithmetic> SubAssign for Comp<R>
impl<R: RealArithmetic> SubAssign for Comp<R>
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-=
operation. Read moreSource§impl<R: RealArithmetic + UsefulReals> UsefulReals for Comp<R>
impl<R: RealArithmetic + UsefulReals> UsefulReals for Comp<R>
impl<R: Copy + RealArithmetic> Copy for Comp<R>
impl<R: RealArithmetic> RealArithmetic for Comp<R>
impl<R: Reals> Trigonometry for Comp<R>
Auto Trait Implementations§
impl<R> Freeze for Comp<R>where
R: Freeze,
impl<R> RefUnwindSafe for Comp<R>where
R: RefUnwindSafe,
impl<R> Send for Comp<R>where
R: Send,
impl<R> Sync for Comp<R>where
R: Sync,
impl<R> Unpin for Comp<R>where
R: Unpin,
impl<R> UnwindSafe for Comp<R>where
R: UnwindSafe,
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