pub struct WindowUpdate {
pub range: VisibleRange,
pub total_height: f64,
pub scroll_top: f64,
pub viewport_height: f64,
pub distance_to_bottom: f64,
pub should_stick_to_bottom: bool,
pub scroll_to: Option<f64>,
pub changed: bool,
}Fields§
§range: VisibleRange§total_height: f64§scroll_top: f64§viewport_height: f64§distance_to_bottom: f64§should_stick_to_bottom: bool§scroll_to: Option<f64>§changed: boolTrait Implementations§
Source§impl Clone for WindowUpdate
impl Clone for WindowUpdate
Source§fn clone(&self) -> WindowUpdate
fn clone(&self) -> WindowUpdate
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 moreSource§impl Debug for WindowUpdate
impl Debug for WindowUpdate
Source§impl PartialEq for WindowUpdate
impl PartialEq for WindowUpdate
impl Copy for WindowUpdate
impl StructuralPartialEq for WindowUpdate
Auto Trait Implementations§
impl Freeze for WindowUpdate
impl RefUnwindSafe for WindowUpdate
impl Send for WindowUpdate
impl Sync for WindowUpdate
impl Unpin for WindowUpdate
impl UnsafeUnpin for WindowUpdate
impl UnwindSafe for WindowUpdate
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