pub struct CellAnnotationGeometry { /* private fields */ }Expand description
Complete immutable CellAnnotationGeometry appearance component.
Implementations§
Source§impl CellAnnotationGeometry
impl CellAnnotationGeometry
Sourcepub fn new(
highlight_outline: OutlineTheme,
value_padding: Insets,
null_row_padding: Insets,
) -> Result<Self>
pub fn new( highlight_outline: OutlineTheme, value_padding: Insets, null_row_padding: Insets, ) -> Result<Self>
Construct a complete component, validating all fields and sibling constraints.
Sourcepub fn get_highlight_outline(&self) -> &OutlineTheme
pub fn get_highlight_outline(&self) -> &OutlineTheme
Borrow the complete highlight_outline value.
Sourcepub fn highlight_outline(self, value: OutlineTheme) -> Result<Self>
pub fn highlight_outline(self, value: OutlineTheme) -> Result<Self>
Replace only highlight_outline, validating the complete resulting component.
Sourcepub fn get_value_padding(&self) -> &Insets
pub fn get_value_padding(&self) -> &Insets
Borrow the complete value_padding value.
Sourcepub fn value_padding(self, value: Insets) -> Result<Self>
pub fn value_padding(self, value: Insets) -> Result<Self>
Replace only value_padding, validating the complete resulting component.
Sourcepub fn get_null_row_padding(&self) -> &Insets
pub fn get_null_row_padding(&self) -> &Insets
Borrow the complete null_row_padding value.
Sourcepub fn null_row_padding(self, value: Insets) -> Result<Self>
pub fn null_row_padding(self, value: Insets) -> Result<Self>
Replace only null_row_padding, validating the complete resulting component.
Trait Implementations§
Source§impl Clone for CellAnnotationGeometry
impl Clone for CellAnnotationGeometry
Source§impl Debug for CellAnnotationGeometry
impl Debug for CellAnnotationGeometry
Source§impl PartialEq for CellAnnotationGeometry
impl PartialEq for CellAnnotationGeometry
impl StructuralPartialEq for CellAnnotationGeometry
Auto Trait Implementations§
impl Forget for CellAnnotationGeometry
impl Freeze for CellAnnotationGeometrywhere
*const ArcInner<SpacingPayload> is !null: Freeze,
PhantomData<ArcInner<SpacingPayload>>: Freeze,
impl Move for CellAnnotationGeometry
impl RefUnwindSafe for CellAnnotationGeometry
impl Send for CellAnnotationGeometry
impl Sync for CellAnnotationGeometry
impl Unpin for CellAnnotationGeometry
impl UnsafeUnpin for CellAnnotationGeometrywhere
*const ArcInner<SpacingPayload> is !null: UnsafeUnpin,
PhantomData<ArcInner<SpacingPayload>>: UnsafeUnpin,
impl UnwindSafe for CellAnnotationGeometrywhere
Arc<SpacingPayload>: UnwindSafe,
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
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>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
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
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.