Struct fltk::text::StyleTableEntryExt
source · pub struct StyleTableEntryExt {
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 StyleTableEntryExt
impl Clone for StyleTableEntryExt
source§fn clone(&self) -> StyleTableEntryExt
fn clone(&self) -> StyleTableEntryExt
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 StyleTableEntryExt
impl Debug for StyleTableEntryExt
source§impl Default for StyleTableEntryExt
impl Default for StyleTableEntryExt
source§impl PartialEq<StyleTableEntryExt> for StyleTableEntryExt
impl PartialEq<StyleTableEntryExt> for StyleTableEntryExt
source§fn eq(&self, other: &StyleTableEntryExt) -> bool
fn eq(&self, other: &StyleTableEntryExt) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for StyleTableEntryExt
impl Eq for StyleTableEntryExt
impl StructuralEq for StyleTableEntryExt
impl StructuralPartialEq for StyleTableEntryExt
Auto Trait Implementations§
impl RefUnwindSafe for StyleTableEntryExt
impl Send for StyleTableEntryExt
impl Sync for StyleTableEntryExt
impl Unpin for StyleTableEntryExt
impl UnwindSafe for StyleTableEntryExt
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