pub struct TableHeaderData {
pub index: TableColumnIndex,
pub text_color: ImColor32,
pub bg_color0: ImColor32,
pub bg_color1: ImColor32,
}Expand description
Safe description of a single angled header cell.
Fields§
§index: TableColumnIndex§text_color: ImColor32§bg_color0: ImColor32§bg_color1: ImColor32Implementations§
Source§impl TableHeaderData
impl TableHeaderData
pub fn new( index: impl Into<TableColumnIndex>, text_color: ImColor32, bg_color0: ImColor32, bg_color1: ImColor32, ) -> Self
Trait Implementations§
Source§impl Clone for TableHeaderData
impl Clone for TableHeaderData
Source§fn clone(&self) -> TableHeaderData
fn clone(&self) -> TableHeaderData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TableHeaderData
Source§impl Debug for TableHeaderData
impl Debug for TableHeaderData
Source§impl PartialEq for TableHeaderData
impl PartialEq for TableHeaderData
Source§fn eq(&self, other: &TableHeaderData) -> bool
fn eq(&self, other: &TableHeaderData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TableHeaderData
Auto Trait Implementations§
impl Freeze for TableHeaderData
impl RefUnwindSafe for TableHeaderData
impl Send for TableHeaderData
impl Sync for TableHeaderData
impl Unpin for TableHeaderData
impl UnsafeUnpin for TableHeaderData
impl UnwindSafe for TableHeaderData
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