File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -184,17 +184,17 @@ pub trait VTable: 'static + Clone + Sized + Send + Sync + Debug {
184184 /// without copying.
185185 fn slots ( array : & Self :: Array ) -> & [ Option < ArrayRef > ] ;
186186
187+ /// Returns a mutable reference to the slots of the array.
188+ ///
189+ /// This allows callers to replace individual slots in-place without cloning all children.
190+ fn slots_mut ( array : & mut Self :: Array ) -> & mut [ Option < ArrayRef > ] ;
191+
187192 /// Returns the name of the slot at the given index.
188193 ///
189194 /// # Panics
190195 /// Panics if `idx >= slots(array).len()`.
191196 fn slot_name ( array : & Self :: Array , idx : usize ) -> String ;
192197
193- /// Returns a mutable reference to the slots of the array.
194- ///
195- /// This allows callers to replace individual slots in-place without cloning all children.
196- fn slots_mut ( array : & mut Self :: Array ) -> & mut [ Option < ArrayRef > ] ;
197-
198198 /// Execute this array by returning an [`ExecutionResult`].
199199 ///
200200 /// Instead of recursively executing children, implementations should return
You can’t perform that action at this time.
0 commit comments