Struct fltk::text::StyleTableEntry
source · pub struct StyleTableEntry {
pub color: Color,
pub font: Font,
pub size: i32,
}
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
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
source§fn eq(&self, other: &StyleTableEntry) -> bool
fn eq(&self, other: &StyleTableEntry) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for StyleTableEntry
impl Eq for StyleTableEntry
impl StructuralEq for StyleTableEntry
impl StructuralPartialEq for StyleTableEntry
Auto Trait Implementations§
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