pub struct Window {
pub start: usize,
pub end: usize,
pub top: f64,
pub bottom: f64,
}Expand description
The rows a VirtualList shows and the space around them.
Fields§
§start: usize§end: usizeOne past the last shown row.
top: f64Height of the spacer above the first shown row.
bottom: f64Height of the spacer below the last shown row.
Trait Implementations§
impl Copy for Window
impl StructuralPartialEq for Window
Auto Trait Implementations§
impl Forget for Window
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