RestylePie

Enum RestylePie 

Source
pub enum RestylePie<P>
where P: Serialize + Clone,
{
Show 50 variants ModifyDomain { domain: Option<Dim<Domain>>, }, ModifyAutomargin { automargin: Option<Dim<bool>>, }, ModifyCustomData { custom_data: Option<Dim<NumOrStringCollection>>, }, ModifyDirection { direction: Option<Dim<PieDirection>>, }, ModifyDlabel { dlabel: Option<Dim<f64>>, }, ModifyHole { hole: Option<Dim<f64>>, }, ModifyHoverInfo { hover_info: Option<Dim<HoverInfo>>, }, ModifyHoverLabel { hover_label: Option<Dim<Label>>, }, ModifyHoverTemplate { hover_template: Option<Dim<Dim<String>>>, }, ModifyHoverText { hover_text: Option<Dim<Dim<String>>>, }, ModifyIds { ids: Option<Dim<Vec<String>>>, }, ModifyInsideTextFont { inside_text_font: Option<Dim<Font>>, }, ModifyInsideTextOrientation { inside_text_orientation: Option<Dim<Orientation>>, }, ModifyLabel0 { label0: Option<Dim<f64>>, }, ModifyLabels { labels: Option<Dim<Vec<String>>>, }, ModifyLegendGroup { legend_group: Option<Dim<String>>, }, ModifyLegendGroupTitle { legend_group_title: Option<Dim<LegendGroupTitle>>, }, ModifyLegendRank { legend_rank: Option<Dim<usize>>, }, ModifyMarker { marker: Option<Dim<Marker>>, }, ModifyMeta { meta: Option<Dim<NumOrString>>, }, ModifyName { name: Option<Dim<String>>, }, ModifyOpacity { opacity: Option<Dim<f64>>, }, ModifyOutsideTextFont { outside_text_font: Option<Dim<Font>>, }, ModifyRotation { rotation: Option<Dim<f64>>, }, ModifyShowLegend { show_legend: Option<Dim<bool>>, }, ModifySort { sort: Option<Dim<bool>>, }, ModifyText { text: Option<Dim<Dim<String>>>, }, ModifyTextInfo { text_info: Option<Dim<String>>, }, ModifyTextFont { text_font: Option<Dim<Font>>, }, ModifyTextPosition { text_position: Option<Dim<Dim<Position>>>, }, ModifyTextTemplate { text_template: Option<Dim<Dim<String>>>, }, ModifyUiRevision { ui_revision: Option<Dim<NumOrString>>, }, ModifyValues { values: Option<Dim<Vec<P>>>, }, ModifyVisible { visible: Option<Dim<Visible>>, }, ModifyLegendWidth { legend_width: Option<Dim<f64>>, }, ModifyPull { pull: Option<Dim<f64>>, }, ModifyCustomDataSrc { custom_data_src: Option<Dim<Dim<String>>>, }, ModifyHoverInfoSrc { hover_info_src: Option<Dim<Dim<String>>>, }, ModifyHoverTemplateSrc { hover_template_src: Option<Dim<Dim<String>>>, }, ModifyHoverTextSrc { hover_text_src: Option<Dim<Dim<String>>>, }, ModifyIdssrc { idssrc: Option<Dim<Dim<String>>>, }, ModifyLabelssrc { labelssrc: Option<Dim<Dim<String>>>, }, ModifyMetasrc { metasrc: Option<Dim<Dim<String>>>, }, ModifyValuesSrc { values_src: Option<Dim<Dim<String>>>, }, ModifyPullSrc { pull_src: Option<Dim<Dim<String>>>, }, ModifyTextPositionSrc { text_position_src: Option<Dim<Dim<String>>>, }, ModifyTextSrc { text_src: Option<Dim<Dim<String>>>, }, ModifyTextTemplateSrc { text_template_src: Option<Dim<Dim<String>>>, }, ModifyUid { uid: Option<Dim<String>>, }, ModifyScaleGroup { scale_group: Option<Dim<String>>, },
}

Variants§

§

ModifyDomain

Fields

§domain: Option<Dim<Domain>>
§

ModifyAutomargin

Fields

§automargin: Option<Dim<bool>>
§

ModifyCustomData

Fields

§custom_data: Option<Dim<NumOrStringCollection>>
§

ModifyDirection

Fields

§

ModifyDlabel

Fields

§dlabel: Option<Dim<f64>>
§

ModifyHole

Fields

§hole: Option<Dim<f64>>
§

ModifyHoverInfo

Fields

§hover_info: Option<Dim<HoverInfo>>
§

ModifyHoverLabel

Fields

§hover_label: Option<Dim<Label>>
§

ModifyHoverTemplate

Fields

§hover_template: Option<Dim<Dim<String>>>
§

ModifyHoverText

Fields

§hover_text: Option<Dim<Dim<String>>>
§

ModifyIds

Fields

§

ModifyInsideTextFont

Fields

§inside_text_font: Option<Dim<Font>>
§

ModifyInsideTextOrientation

Fields

§inside_text_orientation: Option<Dim<Orientation>>
§

ModifyLabel0

Fields

§label0: Option<Dim<f64>>
§

ModifyLabels

Fields

§labels: Option<Dim<Vec<String>>>
§

ModifyLegendGroup

Fields

§legend_group: Option<Dim<String>>
§

ModifyLegendGroupTitle

Fields

§legend_group_title: Option<Dim<LegendGroupTitle>>
§

ModifyLegendRank

Fields

§legend_rank: Option<Dim<usize>>
§

ModifyMarker

Fields

§marker: Option<Dim<Marker>>
§

ModifyMeta

Fields

§meta: Option<Dim<NumOrString>>
§

ModifyName

Fields

§

ModifyOpacity

Fields

§opacity: Option<Dim<f64>>
§

ModifyOutsideTextFont

Fields

§outside_text_font: Option<Dim<Font>>
§

ModifyRotation

Fields

§rotation: Option<Dim<f64>>
§

ModifyShowLegend

Fields

§show_legend: Option<Dim<bool>>
§

ModifySort

Fields

§sort: Option<Dim<bool>>
§

ModifyText

Fields

§

ModifyTextInfo

Fields

§text_info: Option<Dim<String>>
§

ModifyTextFont

Fields

§text_font: Option<Dim<Font>>
§

ModifyTextPosition

Fields

§text_position: Option<Dim<Dim<Position>>>
§

ModifyTextTemplate

Fields

§text_template: Option<Dim<Dim<String>>>
§

ModifyUiRevision

Fields

§ui_revision: Option<Dim<NumOrString>>
§

ModifyValues

Fields

§values: Option<Dim<Vec<P>>>
§

ModifyVisible

Fields

§visible: Option<Dim<Visible>>
§

ModifyLegendWidth

Fields

§legend_width: Option<Dim<f64>>
§

ModifyPull

Fields

§pull: Option<Dim<f64>>
§

ModifyCustomDataSrc

Fields

§custom_data_src: Option<Dim<Dim<String>>>
§

ModifyHoverInfoSrc

Fields

§hover_info_src: Option<Dim<Dim<String>>>
§

ModifyHoverTemplateSrc

Fields

§hover_template_src: Option<Dim<Dim<String>>>
§

ModifyHoverTextSrc

Fields

§hover_text_src: Option<Dim<Dim<String>>>
§

ModifyIdssrc

Fields

§idssrc: Option<Dim<Dim<String>>>
§

ModifyLabelssrc

Fields

§labelssrc: Option<Dim<Dim<String>>>
§

ModifyMetasrc

Fields

§metasrc: Option<Dim<Dim<String>>>
§

ModifyValuesSrc

Fields

§values_src: Option<Dim<Dim<String>>>
§

ModifyPullSrc

Fields

§pull_src: Option<Dim<Dim<String>>>
§

ModifyTextPositionSrc

Fields

§text_position_src: Option<Dim<Dim<String>>>
§

ModifyTextSrc

Fields

§text_src: Option<Dim<Dim<String>>>
§

ModifyTextTemplateSrc

Fields

§text_template_src: Option<Dim<Dim<String>>>
§

ModifyUid

Fields

§

ModifyScaleGroup

Fields

§scale_group: Option<Dim<String>>

Trait Implementations§

Source§

impl<P> Clone for RestylePie<P>
where P: Serialize + Clone + Clone,

Source§

fn clone(&self) -> RestylePie<P>

Returns a duplicate of the value. Read more
1.0.0§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<P> Serialize for RestylePie<P>
where P: Serialize + Clone + Serialize,

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl<P> Restyle for RestylePie<P>
where P: Serialize + Clone,

Auto Trait Implementations§

§

impl<P> Freeze for RestylePie<P>

§

impl<P> !RefUnwindSafe for RestylePie<P>

§

impl<P> Send for RestylePie<P>
where P: Send,

§

impl<P> Sync for RestylePie<P>
where P: Sync,

§

impl<P> Unpin for RestylePie<P>
where P: Unpin,

§

impl<P> !UnwindSafe for RestylePie<P>

Blanket Implementations§

§

impl<T> Any for T
where T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for T
where T: ?Sized,

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

impl<T> BorrowMut<T> for T
where T: ?Sized,

§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CloneToUninit for T
where T: Clone,

§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T, U> Into<U> for T
where U: From<T>,

§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Serialize for T
where T: Serialize + ?Sized,

Source§

fn erased_serialize(&self, serializer: &mut dyn Serializer) -> Result<(), Error>

Source§

fn do_erased_serialize( &self, serializer: &mut dyn Serializer, ) -> Result<(), ErrorImpl>

§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.