pub struct PieSegment {
pub percentage: f64,
pub label: String,
pub color: Option<Color>,
}Fields§
§percentage: f64§label: String§color: Option<Color>Trait Implementations§
Source§impl Clone for PieSegment
impl Clone for PieSegment
Source§fn clone(&self) -> PieSegment
fn clone(&self) -> PieSegment
Returns a duplicate 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 PieSegment
impl Debug for PieSegment
Source§impl PartialEq for PieSegment
impl PartialEq for PieSegment
Source§impl PartialOrd for PieSegment
impl PartialOrd for PieSegment
impl StructuralPartialEq for PieSegment
Auto Trait Implementations§
impl Freeze for PieSegment
impl RefUnwindSafe for PieSegment
impl Send for PieSegment
impl Sync for PieSegment
impl Unpin for PieSegment
impl UnwindSafe for PieSegment
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