pub struct Pie { /* private fields */ }
Implementations§
Source§impl Pie
impl Pie
pub fn new() -> Self
pub fn id<S: Into<String>>(self, id: S) -> Self
pub fn name<S: Into<String>>(self, name: S) -> Self
pub fn color_by<C: Into<ColorBy>>(self, color_by: C) -> Self
pub fn legend_hover_link(self, legend_hover_link: bool) -> Self
pub fn coordiate_system<C: Into<CoordinateSystem>>( self, coordiate_system: C, ) -> Self
pub fn geo_index<F: Into<i64>>(self, geo_index: F) -> Self
pub fn calendar_index<F: Into<i64>>(self, calendar_index: F) -> Self
pub fn selected_mode(self, selected_mode: bool) -> Self
pub fn selected_offset<F: Into<i64>>(self, selected_offset: F) -> Self
pub fn clockwise(self, clockwise: bool) -> Self
pub fn avoid_label_overlap(self, avoid_label_overlap: bool) -> Self
pub fn start_angle<F: Into<i64>>(self, start_angle: F) -> Self
pub fn rose_type<P: Into<PieRoseType>>(self, rose_type: P) -> Self
pub fn label<L: Into<Label>>(self, label: L) -> Self
pub fn label_line<L: Into<LabelLine>>(self, label_line: L) -> Self
pub fn item_style<I: Into<ItemStyle>>(self, item_style: I) -> Self
pub fn emphasis<E: Into<Emphasis>>(self, emphasis: E) -> Self
pub fn center<C: Into<CompositeValue>>(self, center: C) -> Self
pub fn radius<C: Into<CompositeValue>>(self, radius: C) -> Self
pub fn data<D: Into<DataPoint>>(self, data: Vec<D>) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Pie
impl RefUnwindSafe for Pie
impl Send for Pie
impl Sync for Pie
impl Unpin for Pie
impl UnwindSafe for Pie
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> 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