pub struct StyleTableEntry {
pub color: Color,
pub font: Font,
pub size: i32,
pub attr: TextAttr,
pub bgcolor: Color,
}
Expand description
Defines the styles used in the set_highlight_data
, which is used with style buffers
Fields§
§color: Color
Font color
font: Font
Font type
size: i32
Font size
attr: TextAttr
attribute
bgcolor: Color
background color
Trait Implementations§
Source§impl Clone for StyleTableEntry
impl Clone for StyleTableEntry
Source§fn clone(&self) -> StyleTableEntry
fn clone(&self) -> StyleTableEntry
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for StyleTableEntry
impl Debug for StyleTableEntry
Source§impl Default for StyleTableEntry
impl Default for StyleTableEntry
Source§impl PartialEq for StyleTableEntry
impl PartialEq for StyleTableEntry
impl Copy for StyleTableEntry
impl Eq for StyleTableEntry
impl StructuralPartialEq for StyleTableEntry
Auto Trait Implementations§
impl Freeze for StyleTableEntry
impl RefUnwindSafe for StyleTableEntry
impl Send for StyleTableEntry
impl Sync for StyleTableEntry
impl Unpin for StyleTableEntry
impl UnwindSafe for StyleTableEntry
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