#[repr(C)]pub struct Polar<T> {
pub radius: T,
pub theta: Angle<T>,
}
Expand description
Polar coordinates.
Fields§
§radius: T
§theta: Angle<T>
Implementations§
Trait Implementations§
impl<T: Copy> Copy for Polar<T>
impl<T> StructuralPartialEq for Polar<T>
Auto Trait Implementations§
impl<T> Freeze for Polar<T>where
T: Freeze,
impl<T> RefUnwindSafe for Polar<T>where
T: RefUnwindSafe,
impl<T> Send for Polar<T>where
T: Send,
impl<T> Sync for Polar<T>where
T: Sync,
impl<T> Unpin for Polar<T>where
T: Unpin,
impl<T> UnwindSafe for Polar<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