pub struct BodyFillRoles { /* private fields */ }Expand description
Complete immutable BodyFillRoles appearance component.
Implementations§
Source§impl BodyFillRoles
impl BodyFillRoles
Sourcepub fn new(
bar_body: DataFillTheme,
box_body: DataFillTheme,
violin_body: DataFillTheme,
inner_summary: FixedFillTheme,
histogram_bin: DataFillTheme,
waterfall_bar: DataFillTheme,
) -> Result<Self>
pub fn new( bar_body: DataFillTheme, box_body: DataFillTheme, violin_body: DataFillTheme, inner_summary: FixedFillTheme, histogram_bin: DataFillTheme, waterfall_bar: DataFillTheme, ) -> Result<Self>
Construct a complete component, validating all fields and sibling constraints.
Sourcepub fn get_bar_body(&self) -> &DataFillTheme
pub fn get_bar_body(&self) -> &DataFillTheme
Borrow the complete bar_body value.
Sourcepub fn bar_body(self, value: DataFillTheme) -> Result<Self>
pub fn bar_body(self, value: DataFillTheme) -> Result<Self>
Replace only bar_body, validating the complete resulting component.
Sourcepub fn get_box_body(&self) -> &DataFillTheme
pub fn get_box_body(&self) -> &DataFillTheme
Borrow the complete box_body value.
Sourcepub fn box_body(self, value: DataFillTheme) -> Result<Self>
pub fn box_body(self, value: DataFillTheme) -> Result<Self>
Replace only box_body, validating the complete resulting component.
Sourcepub fn get_violin_body(&self) -> &DataFillTheme
pub fn get_violin_body(&self) -> &DataFillTheme
Borrow the complete violin_body value.
Sourcepub fn violin_body(self, value: DataFillTheme) -> Result<Self>
pub fn violin_body(self, value: DataFillTheme) -> Result<Self>
Replace only violin_body, validating the complete resulting component.
Sourcepub fn get_inner_summary(&self) -> &FixedFillTheme
pub fn get_inner_summary(&self) -> &FixedFillTheme
Borrow the complete inner_summary value.
Sourcepub fn inner_summary(self, value: FixedFillTheme) -> Result<Self>
pub fn inner_summary(self, value: FixedFillTheme) -> Result<Self>
Replace only inner_summary, validating the complete resulting component.
Sourcepub fn get_histogram_bin(&self) -> &DataFillTheme
pub fn get_histogram_bin(&self) -> &DataFillTheme
Borrow the complete histogram_bin value.
Sourcepub fn histogram_bin(self, value: DataFillTheme) -> Result<Self>
pub fn histogram_bin(self, value: DataFillTheme) -> Result<Self>
Replace only histogram_bin, validating the complete resulting component.
Sourcepub fn get_waterfall_bar(&self) -> &DataFillTheme
pub fn get_waterfall_bar(&self) -> &DataFillTheme
Borrow the complete waterfall_bar value.
Sourcepub fn waterfall_bar(self, value: DataFillTheme) -> Result<Self>
pub fn waterfall_bar(self, value: DataFillTheme) -> Result<Self>
Replace only waterfall_bar, validating the complete resulting component.
Trait Implementations§
Source§impl Clone for BodyFillRoles
impl Clone for BodyFillRoles
Source§impl Debug for BodyFillRoles
impl Debug for BodyFillRoles
Source§impl PartialEq for BodyFillRoles
impl PartialEq for BodyFillRoles
impl StructuralPartialEq for BodyFillRoles
Auto Trait Implementations§
impl Forget for BodyFillRoles
impl Freeze for BodyFillRoles
impl Move for BodyFillRoles
impl RefUnwindSafe for BodyFillRoles
impl Send for BodyFillRoles
impl Sync for BodyFillRoles
impl Unpin for BodyFillRoles
impl UnsafeUnpin for BodyFillRoles
impl UnwindSafe for BodyFillRoles
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.