pub struct Polar {
pub radius: f64,
pub angle: Angle,
}
Expand description
Two-dimensional Polar Coordinates
Fields§
§radius: f64
§angle: Angle
Trait Implementations§
Source§impl From<StarCoordinates> for Polar
impl From<StarCoordinates> for Polar
Source§fn from(coord: StarCoordinates) -> Self
fn from(coord: StarCoordinates) -> Self
Converts to this type from the input type.
impl Copy for Polar
Auto Trait Implementations§
impl Freeze for Polar
impl RefUnwindSafe for Polar
impl Send for Polar
impl Sync for Polar
impl Unpin for Polar
impl UnwindSafe for Polar
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