pub struct MarkExtentTheme { /* private fields */ }Expand description
Complete immutable MarkExtentTheme appearance component.
Implementations§
Source§impl MarkExtentTheme
impl MarkExtentTheme
Sourcepub fn new(
categories: CategoryMarkGeometry,
waterfall_body_category_breadth: RelativeSpacing,
point_interval_cap_half_height: u32,
sampled_rug_height: RelativeSpacing,
marginal_density_fraction: RelativeSpacing,
matrix_density_fraction: RelativeSpacing,
) -> Result<MarkExtentTheme, Error>
pub fn new( categories: CategoryMarkGeometry, waterfall_body_category_breadth: RelativeSpacing, point_interval_cap_half_height: u32, sampled_rug_height: RelativeSpacing, marginal_density_fraction: RelativeSpacing, matrix_density_fraction: RelativeSpacing, ) -> Result<MarkExtentTheme, Error>
Construct a complete component, validating all fields and sibling constraints.
Sourcepub fn get_categories(&self) -> &CategoryMarkGeometry
pub fn get_categories(&self) -> &CategoryMarkGeometry
Borrow the complete categories value.
Sourcepub fn categories(
self,
value: CategoryMarkGeometry,
) -> Result<MarkExtentTheme, Error>
pub fn categories( self, value: CategoryMarkGeometry, ) -> Result<MarkExtentTheme, Error>
Replace only categories, validating the complete resulting component.
Sourcepub fn get_waterfall_body_category_breadth(&self) -> &RelativeSpacing
pub fn get_waterfall_body_category_breadth(&self) -> &RelativeSpacing
Borrow the complete waterfall_body_category_breadth value.
Sourcepub fn waterfall_body_category_breadth(
self,
value: RelativeSpacing,
) -> Result<MarkExtentTheme, Error>
pub fn waterfall_body_category_breadth( self, value: RelativeSpacing, ) -> Result<MarkExtentTheme, Error>
Replace only waterfall_body_category_breadth, validating the complete resulting component.
Sourcepub fn get_point_interval_cap_half_height(&self) -> u32
pub fn get_point_interval_cap_half_height(&self) -> u32
Inspect point_interval_cap_half_height.
Sourcepub fn point_interval_cap_half_height(
self,
value: u32,
) -> Result<MarkExtentTheme, Error>
pub fn point_interval_cap_half_height( self, value: u32, ) -> Result<MarkExtentTheme, Error>
Replace only point_interval_cap_half_height, validating the complete resulting component.
Sourcepub fn get_sampled_rug_height(&self) -> &RelativeSpacing
pub fn get_sampled_rug_height(&self) -> &RelativeSpacing
Borrow the complete sampled_rug_height value.
Sourcepub fn sampled_rug_height(
self,
value: RelativeSpacing,
) -> Result<MarkExtentTheme, Error>
pub fn sampled_rug_height( self, value: RelativeSpacing, ) -> Result<MarkExtentTheme, Error>
Replace only sampled_rug_height, validating the complete resulting component.
Sourcepub fn get_marginal_density_fraction(&self) -> &RelativeSpacing
pub fn get_marginal_density_fraction(&self) -> &RelativeSpacing
Borrow the complete marginal_density_fraction value.
Sourcepub fn marginal_density_fraction(
self,
value: RelativeSpacing,
) -> Result<MarkExtentTheme, Error>
pub fn marginal_density_fraction( self, value: RelativeSpacing, ) -> Result<MarkExtentTheme, Error>
Replace only marginal_density_fraction, validating the complete resulting component.
Sourcepub fn get_matrix_density_fraction(&self) -> &RelativeSpacing
pub fn get_matrix_density_fraction(&self) -> &RelativeSpacing
Borrow the complete matrix_density_fraction value.
Sourcepub fn matrix_density_fraction(
self,
value: RelativeSpacing,
) -> Result<MarkExtentTheme, Error>
pub fn matrix_density_fraction( self, value: RelativeSpacing, ) -> Result<MarkExtentTheme, Error>
Replace only matrix_density_fraction, validating the complete resulting component.
Trait Implementations§
Source§impl Clone for MarkExtentTheme
impl Clone for MarkExtentTheme
Source§fn clone(&self) -> MarkExtentTheme
fn clone(&self) -> MarkExtentTheme
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MarkExtentTheme
impl Debug for MarkExtentTheme
Source§impl PartialEq for MarkExtentTheme
impl PartialEq for MarkExtentTheme
impl StructuralPartialEq for MarkExtentTheme
Auto Trait Implementations§
impl Forget for MarkExtentTheme
impl Freeze for MarkExtentThemewhere
*const ArcInner<SpacingPayload> is !null: Freeze,
PhantomData<ArcInner<SpacingPayload>>: Freeze,
impl Move for MarkExtentTheme
impl RefUnwindSafe for MarkExtentTheme
impl Send for MarkExtentTheme
impl Sync for MarkExtentTheme
impl Unpin for MarkExtentTheme
impl UnsafeUnpin for MarkExtentThemewhere
*const ArcInner<SpacingPayload> is !null: UnsafeUnpin,
PhantomData<ArcInner<SpacingPayload>>: UnsafeUnpin,
impl UnwindSafe for MarkExtentThemewhere
Arc<SpacingPayload>: UnwindSafe,
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.