pub struct WeightedPoint {
pub width: FloatType,
pub height: FloatType,
pub label_at: Option<(FloatType, FloatType)>,
}Expand description
A weighted point as drawn: an ellipse, and where its count is written where it is written at all.
Fields§
§width: FloatTypeThe ellipse’s width, in units of the x axis.
height: FloatTypeIts height, in units of the y axis.
label_at: Option<(FloatType, FloatType)>Where the count is written, for a count over one.
Trait Implementations§
Source§impl Clone for WeightedPoint
impl Clone for WeightedPoint
impl Copy for WeightedPoint
Source§impl Debug for WeightedPoint
impl Debug for WeightedPoint
Source§impl PartialEq for WeightedPoint
impl PartialEq for WeightedPoint
impl StructuralPartialEq for WeightedPoint
Auto Trait Implementations§
impl Forget for WeightedPoint
impl Freeze for WeightedPoint
impl Move for WeightedPoint
impl RefUnwindSafe for WeightedPoint
impl Send for WeightedPoint
impl Sync for WeightedPoint
impl Unpin for WeightedPoint
impl UnsafeUnpin for WeightedPoint
impl UnwindSafe for WeightedPoint
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