pub struct Polar<U: AngleUnit>(/* private fields */);Expand description
Polar coordinates in unit U.
Mirrors boost::geometry::cs::polar<DegreeOrRadian>
(boost/geometry/core/cs.hpp:155-165).
§Examples
use geometry_cs::{CoordinateSystem, Polar, PolarFamily, Radian};
fn _polar<C: CoordinateSystem<Family = PolarFamily>>() {}
_polar::<Polar<Radian>>();Trait Implementations§
Source§impl<U: AngleUnit> CoordinateSystem for Polar<U>
impl<U: AngleUnit> CoordinateSystem for Polar<U>
Source§type Family = PolarFamily
type Family = PolarFamily
The CS family this concrete system belongs to. Read more
impl<U: Copy + AngleUnit> Copy for Polar<U>
impl<U: Eq + AngleUnit> Eq for Polar<U>
impl<U: PartialEq + AngleUnit> StructuralPartialEq for Polar<U>
Auto Trait Implementations§
impl<U> Freeze for Polar<U>
impl<U> RefUnwindSafe for Polar<U>where
U: RefUnwindSafe,
impl<U> Send for Polar<U>where
U: Send,
impl<U> Sync for Polar<U>where
U: Sync,
impl<U> Unpin for Polar<U>where
U: Unpin,
impl<U> UnsafeUnpin for Polar<U>
impl<U> UnwindSafe for Polar<U>where
U: 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