pub struct VirtualListResponse {
pub item_range: Range<usize>,
pub newly_visible_items: Range<usize>,
pub hidden_items: Range<usize>,
}Expand description
The response from a call to VirtualList::ui_custom_layout
Fields§
§item_range: Range<usize>The range of items that was displayed
newly_visible_items: Range<usize>Any items in this range are now visible
Any items in this range are no longer visible
Auto Trait Implementations§
impl Freeze for VirtualListResponse
impl RefUnwindSafe for VirtualListResponse
impl Send for VirtualListResponse
impl Sync for VirtualListResponse
impl Unpin for VirtualListResponse
impl UnwindSafe for VirtualListResponse
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