pub struct GridCellAttr {
pub bg_color: Option<Color>,
pub text_color: Option<Color>,
pub alignment: Option<TextAlignment>,
pub font_bold: bool,
pub font_italic: bool,
pub font_size: Option<u8>,
}Expand description
Attributes for a WidgetKind::DataGrid cell (Phase 2).
Fields§
§bg_color: Option<Color>§text_color: Option<Color>§alignment: Option<TextAlignment>§font_bold: bool§font_italic: bool§font_size: Option<u8>Trait Implementations§
Source§impl Clone for GridCellAttr
impl Clone for GridCellAttr
Source§impl Debug for GridCellAttr
impl Debug for GridCellAttr
Source§impl Default for GridCellAttr
impl Default for GridCellAttr
Source§impl PartialEq for GridCellAttr
impl PartialEq for GridCellAttr
impl StructuralPartialEq for GridCellAttr
Auto Trait Implementations§
impl Forget for GridCellAttr
impl Freeze for GridCellAttr
impl Move for GridCellAttr
impl RefUnwindSafe for GridCellAttr
impl Send for GridCellAttr
impl Sync for GridCellAttr
impl Unpin for GridCellAttr
impl UnsafeUnpin for GridCellAttr
impl UnwindSafe for GridCellAttr
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