pub struct ComplexPolar<T: Num + Copy> { /* private fields */ }Implementations§
Source§impl<T> ComplexPolar<T>
impl<T> ComplexPolar<T>
pub fn get_radius(&self) -> T
pub fn get_angle(&self) -> T
Trait Implementations§
Source§impl<T: Clone + Num + Copy> Clone for ComplexPolar<T>
impl<T: Clone + Num + Copy> Clone for ComplexPolar<T>
Source§fn clone(&self) -> ComplexPolar<T>
fn clone(&self) -> ComplexPolar<T>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<T: Copy + Num + Copy> Copy for ComplexPolar<T>
Auto Trait Implementations§
impl<T> Freeze for ComplexPolar<T>where
T: Freeze,
impl<T> RefUnwindSafe for ComplexPolar<T>where
T: RefUnwindSafe,
impl<T> Send for ComplexPolar<T>where
T: Send,
impl<T> Sync for ComplexPolar<T>where
T: Sync,
impl<T> Unpin for ComplexPolar<T>where
T: Unpin,
impl<T> UnsafeUnpin for ComplexPolar<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for ComplexPolar<T>where
T: 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