PullGestureRecognizer
struct · ferroui-base · v0.5.0
struct PullGestureRecognizer
Recognizes the pull gesture: a drag from an edge of the target, as used by pull-to-refresh.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<PullGestureRecognizer>
Returns a strong reference to this object.
pull_direction_property
fn pull_direction_property() -> &'static StyledProperty<PullDirection>
Defines the PullDirection property.
new
fn new() -> Ref<Self>
Creates a recognizer for pulls from the top.
with_direction
fn with_direction(pull_direction: PullDirection) -> Ref<Self>
Creates a recognizer for pulls in the given direction.
pull_direction
fn pull_direction(self: &Self) -> PullDirection
The direction the target is pulled in.
set_pull_direction
fn set_pull_direction(self: &Self, value: PullDirection)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeGestureRecognizerImplExtFerroObjectImplExtStyledElementImplExtClassDefaultsBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyErasedDestructorIntoEitherDerefUpcast<T>Upcast<PullGestureRecognizer>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplStyledElementImplGestureRecognizerImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.