ScrollChangedEventArgs
struct · ferroui-controls · v0.5.0
struct ScrollChangedEventArgs
Describes a change in scrolling state.
Members
new
fn new(extent_delta: Vector, offset_delta: Vector, viewport_delta: Vector) -> Self
Creates args for the ScrollChanged event of the scroll viewer.
with_event
fn with_event<T: ?Sized>(routed_event: Option<&RoutedEvent<T>>, extent_delta: Vector, offset_delta: Vector, viewport_delta: Vector) -> Self
Creates args for a routed event.
extent_delta
fn extent_delta(self: &Self) -> Vector
Gets the change to the value of the Extent of the scroll viewer.
offset_delta
fn offset_delta(self: &Self) -> Vector
Gets the change to the value of the Offset of the scroll viewer.
viewport_delta
fn viewport_delta(self: &Self) -> Vector
Gets the change to the value of the Viewport of the scroll viewer.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyToOwnedClassDefaultsErasedDestructorIntoEitherMarkupTypedCloneDerefIRoutedEventArgs
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.