pub enum ToReal {
Abs,
Real,
Imag,
}Expand description
An operation with a real result from (complex) numbers.
Variants§
Abs
The magnitude (abs), for any signed number.
Real
The real part of a complex number.
Imag
The imaginary part of a complex number.
Trait Implementations§
impl Copy for ToReal
impl Eq for ToReal
impl StructuralPartialEq for ToReal
Auto Trait Implementations§
impl Freeze for ToReal
impl RefUnwindSafe for ToReal
impl Send for ToReal
impl Sync for ToReal
impl Unpin for ToReal
impl UnsafeUnpin for ToReal
impl UnwindSafe for ToReal
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