pub struct VirtualListState {
pub offset_x: Px,
pub offset_y: Px,
pub viewport_w: Px,
pub viewport_h: Px,
/* private fields */
}Expand description
Cross-frame element-local state for a virtual list (stored in the element state store).
Fields§
§offset_x: Px§offset_y: Px§viewport_w: Px§viewport_h: PxTrait Implementations§
Source§impl Clone for VirtualListState
impl Clone for VirtualListState
Source§fn clone(&self) -> VirtualListState
fn clone(&self) -> VirtualListState
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 VirtualListState
impl Debug for VirtualListState
Source§impl Default for VirtualListState
impl Default for VirtualListState
Source§fn default() -> VirtualListState
fn default() -> VirtualListState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for VirtualListState
impl !RefUnwindSafe for VirtualListState
impl Send for VirtualListState
impl !Sync for VirtualListState
impl Unpin for VirtualListState
impl UnsafeUnpin for VirtualListState
impl !UnwindSafe for VirtualListState
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