[−][src]Struct rustpython_vm::obj::objcomplex::PyComplex
Create a complex number from a real part and an optional imaginary part.
This is equivalent to (real + imag*1j) where imag defaults to 0.
Trait Implementations
impl Clone for PyComplex
[src][+]
impl Copy for PyComplex
[src]
impl Debug for PyComplex
[src][+]
impl From<Complex<f64>> for PyComplex
[src][+]
impl PartialEq<PyComplex> for PyComplex
[src][+]
impl PyClassDef for PyComplex
[src]
impl PyClassImpl for PyComplex
[src][+]
impl PyValue for PyComplex
[src][+]
impl StructuralPartialEq for PyComplex
[src]
Auto Trait Implementations
impl RefUnwindSafe for PyComplex
impl Send for PyComplex
impl Sync for PyComplex
impl Unpin for PyComplex
impl UnwindSafe for PyComplex
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> IntoPyObject for T where
T: PyValue,
[src][+]
T: PyValue,
impl<T> PyObjectPayload for T where
T: 'static + PyValue,
[src][+]
T: 'static + PyValue,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[+]
V: MultiLane<T>,