pub struct FrameRowView<'a, T: Clone + PartialEq> { /* private fields */ }
Expand description
An immutable view of a single row in a Frame
. Allows access via []
.
Implementations§
Source§impl<'a, T: Clone + PartialEq> FrameRowView<'a, T>
impl<'a, T: Clone + PartialEq> FrameRowView<'a, T>
Sourcepub fn get_by_index(&self, col_idx: usize) -> &T
pub fn get_by_index(&self, col_idx: usize) -> &T
Returns a reference to the element at the given physical column index.
Panics with a descriptive message if col_idx
is out of bounds.
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for FrameRowView<'a, T>
impl<'a, T> RefUnwindSafe for FrameRowView<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for FrameRowView<'a, T>where
T: Sync,
impl<'a, T> Sync for FrameRowView<'a, T>where
T: Sync,
impl<'a, T> Unpin for FrameRowView<'a, T>
impl<'a, T> UnwindSafe for FrameRowView<'a, T>where
T: RefUnwindSafe,
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