pub struct Window {
pub from: usize,
pub count: usize,
pub rev: bool,
}Expand description
Where a run of members starts, how long it is, and which way it goes.
This is what every range command reduces to, and it is a rank rather than a
pair of members because the tree answers in ranks. from is the first member
the walk hands over, so on a reverse walk it is the high end and the walk
counts down.
Fields§
§from: usizeThe rank the walk starts at.
count: usizeHow many members the walk hands over.
rev: boolWhether the walk counts down.
Trait Implementations§
impl Copy for Window
impl Eq for Window
impl StructuralPartialEq for Window
Auto Trait Implementations§
impl Freeze for Window
impl RefUnwindSafe for Window
impl Send for Window
impl Sync for Window
impl Unpin for Window
impl UnsafeUnpin for Window
impl UnwindSafe for Window
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