mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-11 05:28:35 +00:00
add Copy and Clone traits for TableColumnSetup and TableColumnFlags
This commit is contained in:
parent
bcac953a65
commit
beef13f54d
@ -161,7 +161,7 @@ bitflags! {
|
|||||||
bitflags! {
|
bitflags! {
|
||||||
/// Flags for [TableColumnSetup] and [table_setup_column_with].
|
/// Flags for [TableColumnSetup] and [table_setup_column_with].
|
||||||
#[repr(transparent)]
|
#[repr(transparent)]
|
||||||
#[derive(Default)]
|
#[derive(Copy, Clone, Default)]
|
||||||
pub struct TableColumnFlags: u32 {
|
pub struct TableColumnFlags: u32 {
|
||||||
// Input configuration flags
|
// Input configuration flags
|
||||||
|
|
||||||
@ -749,7 +749,7 @@ impl Ui {
|
|||||||
|
|
||||||
/// A struct containing all the data needed to setup a table column header
|
/// A struct containing all the data needed to setup a table column header
|
||||||
/// via [begin_table_header](Ui::begin_table_header) or [table_setup_column](Ui::table_setup_column).
|
/// via [begin_table_header](Ui::begin_table_header) or [table_setup_column](Ui::table_setup_column).
|
||||||
#[derive(Debug, Default)]
|
#[derive(Copy, Clone, Debug, Default)]
|
||||||
pub struct TableColumnSetup<Name> {
|
pub struct TableColumnSetup<Name> {
|
||||||
/// The name of column to be displayed to users.
|
/// The name of column to be displayed to users.
|
||||||
pub name: Name,
|
pub name: Name,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user