pub struct PieSlice {
pub index: usize,
pub value: f64,
pub start_angle: f64,
pub end_angle: f64,
}Expand description
A computed pie slice with angular position.
Fields§
§index: usizeIndex of the original data value.
value: f64The original data value.
start_angle: f64Start angle in radians.
end_angle: f64End angle in radians.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PieSlice
impl RefUnwindSafe for PieSlice
impl Send for PieSlice
impl Sync for PieSlice
impl Unpin for PieSlice
impl UnsafeUnpin for PieSlice
impl UnwindSafe for PieSlice
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