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
sourceimpl Clone for StyleTableEntryExt
impl Clone for StyleTableEntryExt
sourcefn clone(&self) -> StyleTableEntryExt
fn clone(&self) -> StyleTableEntryExt
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for StyleTableEntryExt
impl Debug for StyleTableEntryExt
sourceimpl Default for StyleTableEntryExt
impl Default for StyleTableEntryExt
sourceimpl PartialEq<StyleTableEntryExt> for StyleTableEntryExt
impl PartialEq<StyleTableEntryExt> for StyleTableEntryExt
sourcefn eq(&self, other: &StyleTableEntryExt) -> bool
fn eq(&self, other: &StyleTableEntryExt) -> bool
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more