Struct graplot::PieSegment
source · 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 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 PieSegment
impl Debug for PieSegment
source§impl PartialEq<PieSegment> for PieSegment
impl PartialEq<PieSegment> for PieSegment
source§fn eq(&self, other: &PieSegment) -> bool
fn eq(&self, other: &PieSegment) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<PieSegment> for PieSegment
impl PartialOrd<PieSegment> for PieSegment
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more