Change return type of column_user_id to Id

This matches the type of `TableColumnSetup.user_id`
This commit is contained in:
t4ccer 2024-11-12 19:44:52 -07:00 committed by Jonathan Spira
parent ec07713c5a
commit 8445334450

View File

@ -848,8 +848,8 @@ impl<'a> Specs<'a> {
pub struct TableColumnSortSpecs<'a>(&'a sys::ImGuiTableColumnSortSpecs); pub struct TableColumnSortSpecs<'a>(&'a sys::ImGuiTableColumnSortSpecs);
impl<'a> TableColumnSortSpecs<'a> { impl<'a> TableColumnSortSpecs<'a> {
/// User id of the column (if specified by a TableSetupColumn() call) /// User id of the column (if specified by a TableSetupColumn() call)
pub fn column_user_id(&self) -> sys::ImGuiID { pub fn column_user_id(&self) -> Id {
self.0.ColumnUserID Id(self.0.ColumnUserID)
} }
/// Index of the column /// Index of the column