pub struct Column { /* private fields */ }Expand description
A column inside of a Grid.
Implementations§
Source§impl Column
impl Column
Sourcepub fn cover(self_ptr: *mut Self)
pub fn cover(self_ptr: *mut Self)
Cover entire column, and any rows that that appear in this column.
Sourcepub fn uncover(self_ptr: *mut Self)
pub fn uncover(self_ptr: *mut Self)
Uncover entire column, and any rows that appear in this column.
Sourcepub fn is_empty(self_ptr: *const Self) -> bool
pub fn is_empty(self_ptr: *const Self) -> bool
Return true if there are no uncovered Nodes in this column.
Sourcepub fn row_indices(self_ptr: *const Self) -> impl Iterator<Item = usize>
pub fn row_indices(self_ptr: *const Self) -> impl Iterator<Item = usize>
Return an iterator over the row indices of all uncovered Nodes in this
column.
Sourcepub fn rows(self_ptr: *const Self) -> impl Iterator<Item = *const Node>
pub fn rows(self_ptr: *const Self) -> impl Iterator<Item = *const Node>
Return an iterator of pointers to all uncovered Nodes in this column.
Trait Implementations§
impl Eq for Column
impl StructuralPartialEq for Column
Auto Trait Implementations§
impl Freeze for Column
impl RefUnwindSafe for Column
impl !Send for Column
impl !Sync for Column
impl Unpin for Column
impl UnwindSafe for Column
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