pub struct GroupedRowModel { /* private fields */ }Implementations§
Source§impl GroupedRowModel
impl GroupedRowModel
pub fn root_rows(&self) -> &[usize]
pub fn flat_rows(&self) -> &[usize]
pub fn row(&self, index: usize) -> Option<&GroupedRow>
pub fn row_by_key(&self, key: RowKey) -> Option<usize>
pub fn row_by_id(&self, id: &str) -> Option<usize>
pub fn is_leaf(&self, index: usize) -> bool
Trait Implementations§
Source§impl Clone for GroupedRowModel
impl Clone for GroupedRowModel
Source§fn clone(&self) -> GroupedRowModel
fn clone(&self) -> GroupedRowModel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GroupedRowModel
impl Debug for GroupedRowModel
Source§impl Default for GroupedRowModel
impl Default for GroupedRowModel
Source§fn default() -> GroupedRowModel
fn default() -> GroupedRowModel
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GroupedRowModel
impl RefUnwindSafe for GroupedRowModel
impl Send for GroupedRowModel
impl Sync for GroupedRowModel
impl Unpin for GroupedRowModel
impl UnsafeUnpin for GroupedRowModel
impl UnwindSafe for GroupedRowModel
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