pub struct WheelRegionProps {
pub layout: LayoutStyle,
pub axis: ScrollAxis,
pub scroll_target: Option<GlobalElementId>,
pub scroll_handle: ScrollHandle,
}Expand description
A wheel listener region that mutates a scroll handle without affecting layout.
Fields§
§layout: LayoutStyle§axis: ScrollAxis§scroll_target: Option<GlobalElementId>Declarative element id to invalidate when the scroll offset changes.
scroll_handle: ScrollHandleTrait Implementations§
Source§impl Clone for WheelRegionProps
impl Clone for WheelRegionProps
Source§fn clone(&self) -> WheelRegionProps
fn clone(&self) -> WheelRegionProps
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 WheelRegionProps
impl Debug for WheelRegionProps
Auto Trait Implementations§
impl Freeze for WheelRegionProps
impl !RefUnwindSafe for WheelRegionProps
impl !Send for WheelRegionProps
impl !Sync for WheelRegionProps
impl Unpin for WheelRegionProps
impl UnsafeUnpin for WheelRegionProps
impl !UnwindSafe for WheelRegionProps
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