pub struct ScrollRange {
pub unit: ScrollUnit,
pub min: i32,
pub max: i32,
}Expand description
The range a scrolling node’s content spans, on the wire [unit, min, max],
both ends inclusive: [items, 0, 199] for a list of 200 items.
Fields§
§unit: ScrollUnit§min: i32§max: i32Trait Implementations§
Source§impl Clone for ScrollRange
impl Clone for ScrollRange
impl Copy for ScrollRange
Source§impl Debug for ScrollRange
impl Debug for ScrollRange
Source§impl<'bytes, Ctx> Decode<'bytes, Ctx> for ScrollRange
impl<'bytes, Ctx> Decode<'bytes, Ctx> for ScrollRange
Source§impl<Ctx> Encode<Ctx> for ScrollRange
impl<Ctx> Encode<Ctx> for ScrollRange
impl Eq for ScrollRange
Source§impl Hash for ScrollRange
impl Hash for ScrollRange
Source§impl PartialEq for ScrollRange
impl PartialEq for ScrollRange
impl StructuralPartialEq for ScrollRange
Auto Trait Implementations§
impl Freeze for ScrollRange
impl RefUnwindSafe for ScrollRange
impl Send for ScrollRange
impl Sync for ScrollRange
impl Unpin for ScrollRange
impl UnsafeUnpin for ScrollRange
impl UnwindSafe for ScrollRange
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