pub struct FrameRowViewMut<'a, T: Clone + PartialEq> { /* private fields */ }Expand description
A mutable view of a single row in a Frame.
Supports indexed access and mutation via methods or [] operators.
Implementations§
Source§impl<'a, T: Clone + PartialEq> FrameRowViewMut<'a, T>
impl<'a, T: Clone + PartialEq> FrameRowViewMut<'a, T>
Sourcepub fn get_by_index_mut(&mut self, col_idx: usize) -> &mut T
pub fn get_by_index_mut(&mut self, col_idx: usize) -> &mut T
Returns a mutable reference to the element at the given physical column index.
Panics if col_idx is out of bounds.
Sourcepub fn get_mut(&mut self, col_name: &str) -> &mut T
pub fn get_mut(&mut self, col_name: &str) -> &mut T
Returns a mutable reference to the element in the column named col_name.
Panics if the column name is not found.
Sourcepub fn set_by_index(&mut self, col_idx: usize, value: T)
pub fn set_by_index(&mut self, col_idx: usize, value: T)
Sets the element at the given physical column index to value.
Panics if col_idx is out of bounds.
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for FrameRowViewMut<'a, T>
impl<'a, T> RefUnwindSafe for FrameRowViewMut<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for FrameRowViewMut<'a, T>where
T: Send,
impl<'a, T> Sync for FrameRowViewMut<'a, T>where
T: Sync,
impl<'a, T> Unpin for FrameRowViewMut<'a, T>
impl<'a, T> !UnwindSafe for FrameRowViewMut<'a, T>
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