#[non_exhaustive]pub struct GridCellStyle {
pub ink: Option<Semantic>,
pub fill: Option<Semantic>,
pub bold: bool,
}Expand description
How a cell looks, by what its row holds. Colors come from the theme.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.ink: Option<Semantic>The color of the text.
fill: Option<Semantic>A faint color behind it.
bold: boolHeavier text.
Implementations§
Trait Implementations§
Source§impl Clone for GridCellStyle
impl Clone for GridCellStyle
Source§fn clone(&self) -> GridCellStyle
fn clone(&self) -> GridCellStyle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GridCellStyle
Source§impl Debug for GridCellStyle
impl Debug for GridCellStyle
Source§impl Default for GridCellStyle
impl Default for GridCellStyle
Source§fn default() -> GridCellStyle
fn default() -> GridCellStyle
Returns the “default value” for a type. Read more
impl Eq for GridCellStyle
Source§impl PartialEq for GridCellStyle
impl PartialEq for GridCellStyle
impl StructuralPartialEq for GridCellStyle
Auto Trait Implementations§
impl Freeze for GridCellStyle
impl RefUnwindSafe for GridCellStyle
impl Send for GridCellStyle
impl Sync for GridCellStyle
impl Unpin for GridCellStyle
impl UnsafeUnpin for GridCellStyle
impl UnwindSafe for GridCellStyle
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<T> Brush for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more