Enum rstk::chart::plotchart::CoordinatesType
source · pub enum CoordinatesType {
Cartesian,
Nautical,
Polar,
}
Expand description
Specifies interpretation of coordinates.
Variants§
Cartesian
(x, y) coordinate
Nautical
Angles, with 0 to North, 90 to East
Polar
Angles, with 0 on x-axis, 90 on y-axis
Trait Implementations§
source§impl Clone for CoordinatesType
impl Clone for CoordinatesType
source§fn clone(&self) -> CoordinatesType
fn clone(&self) -> CoordinatesType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CoordinatesType
impl Debug for CoordinatesType
source§impl Display for CoordinatesType
impl Display for CoordinatesType
source§impl PartialEq for CoordinatesType
impl PartialEq for CoordinatesType
source§fn eq(&self, other: &CoordinatesType) -> bool
fn eq(&self, other: &CoordinatesType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CoordinatesType
Auto Trait Implementations§
impl RefUnwindSafe for CoordinatesType
impl Send for CoordinatesType
impl Sync for CoordinatesType
impl Unpin for CoordinatesType
impl UnwindSafe for CoordinatesType
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