pub struct ScrollItem {
pub id: u64,
pub rect: Rect,
pub enabled: bool,
}Expand description
A stable identity and unscrolled content-space rectangle. Items must fit the declared content width/height. Disabled items still occlude pointer hits. Slice order defines Tab/arrow order and back-to-front pointer hit order.
Fields§
§id: u64§rect: Rect§enabled: boolTrait Implementations§
Source§impl Clone for ScrollItem
impl Clone for ScrollItem
Source§fn clone(&self) -> ScrollItem
fn clone(&self) -> ScrollItem
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 ScrollItem
impl Debug for ScrollItem
Source§impl PartialEq for ScrollItem
impl PartialEq for ScrollItem
impl Copy for ScrollItem
impl StructuralPartialEq for ScrollItem
Auto Trait Implementations§
impl Freeze for ScrollItem
impl RefUnwindSafe for ScrollItem
impl Send for ScrollItem
impl Sync for ScrollItem
impl Unpin for ScrollItem
impl UnwindSafe for ScrollItem
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