pub struct PolarGuide {
pub centre: (f64, f64),
pub full_circle: bool,
pub r_axis_inside: bool,
pub rotate_labels: bool,
}Expand description
What draw_polar_guides needs
from a polar coord (#411).
Fields§
§centre: (f64, f64)The pole, in pixels.
full_circle: boolThe swept angle covers the whole circle.
r_axis_inside: boolPut the r axis along the start spoke instead of the panel’s left
edge (r.axis.inside).
rotate_labels: boolTurn theta labels to follow the circle (rotate.angle).
Trait Implementations§
Source§impl Clone for PolarGuide
impl Clone for PolarGuide
impl Copy for PolarGuide
Auto Trait Implementations§
impl Freeze for PolarGuide
impl RefUnwindSafe for PolarGuide
impl Send for PolarGuide
impl Sync for PolarGuide
impl Unpin for PolarGuide
impl UnsafeUnpin for PolarGuide
impl UnwindSafe for PolarGuide
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more