From f103b1086ade2ca10235309a31c39ef934fc18f3 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Mon, 23 Mar 2026 10:53:33 -0600 Subject: [PATCH] Add mutable function to get Table Columns --- src/structs/table.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/structs/table.rs b/src/structs/table.rs index b584ef9a..0c4170e3 100644 --- a/src/structs/table.rs +++ b/src/structs/table.rs @@ -126,6 +126,12 @@ impl Table { &self.columns } + #[inline] + #[must_use] + pub fn columns_mut(&mut self) -> &mut [TableColumn] { + &mut self.columns + } + #[inline] #[must_use] #[deprecated(since = "3.0.0", note = "Use columns()")]