pub struct PolarFamily;Expand description
Polar family marker.
Mirrors the family tag implied by cs::polar<DegreeOrRadian> in
boost/geometry/core/cs.hpp:155-165. Boost never gives the polar
system a dedicated cs_tag specialisation (the type is mostly
vestigial in the C++ code base); we name it explicitly so that
future polar strategies have a family to bind on.
§Examples
use geometry_cs::{CoordinateSystem, Polar, PolarFamily, Radian};
let _: <Polar<Radian> as CoordinateSystem>::Family = PolarFamily;Trait Implementations§
Source§impl Clone for PolarFamily
impl Clone for PolarFamily
Source§fn clone(&self) -> PolarFamily
fn clone(&self) -> PolarFamily
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 Copy for PolarFamily
Source§impl Debug for PolarFamily
impl Debug for PolarFamily
Source§impl Default for PolarFamily
impl Default for PolarFamily
Source§fn default() -> PolarFamily
fn default() -> PolarFamily
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PolarFamily
impl RefUnwindSafe for PolarFamily
impl Send for PolarFamily
impl Sync for PolarFamily
impl Unpin for PolarFamily
impl UnsafeUnpin for PolarFamily
impl UnwindSafe for PolarFamily
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