pub struct VirtualWindow { /* private fields */ }Implementations§
Source§impl VirtualWindow
impl VirtualWindow
pub fn new(config: VirtualWindowConfig) -> Self
pub fn update(&mut self, event: WindowEvent) -> WindowUpdate
pub fn visible_range(&self) -> VisibleRange
pub fn offset_of(&self, index: usize) -> f64
pub fn item_height(&self, index: usize) -> f64
pub fn total_height(&self) -> f64
pub fn snapshot_heights(&self) -> HeightCacheSnapshot
Trait Implementations§
Source§impl Clone for VirtualWindow
impl Clone for VirtualWindow
Source§fn clone(&self) -> VirtualWindow
fn clone(&self) -> VirtualWindow
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 moreAuto Trait Implementations§
impl Freeze for VirtualWindow
impl RefUnwindSafe for VirtualWindow
impl Send for VirtualWindow
impl Sync for VirtualWindow
impl Unpin for VirtualWindow
impl UnsafeUnpin for VirtualWindow
impl UnwindSafe for VirtualWindow
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