Skip to main content

Input_PointerStyle

Struct Input_PointerStyle 

Source
#[repr(transparent)]
pub struct Input_PointerStyle(pub c_int);
Available on crate features api-12 and api-22 only.
Expand description

Enumerated values of OpenHarmony pointer style.

Available since API-level: 22

Tuple Fields§

§0: c_int

Implementations§

Source§

impl Input_PointerStyle

Source

pub const DEFAULT: Input_PointerStyle

Default

Available since API-level: 22

Source

pub const EAST: Input_PointerStyle

East arrow

Available since API-level: 22

Source

pub const WEST: Input_PointerStyle

West arrow

Available since API-level: 22

Source

pub const SOUTH: Input_PointerStyle

South arrow

Available since API-level: 22

Source

pub const NORTH: Input_PointerStyle

North arrow

Available since API-level: 22

Source

pub const WEST_EAST: Input_PointerStyle

East-west arrow

Available since API-level: 22

Source

pub const NORTH_SOUTH: Input_PointerStyle

North-south arrow

Available since API-level: 22

Source

pub const NORTH_EAST: Input_PointerStyle

North-east arrow

Available since API-level: 22

Source

pub const NORTH_WEST: Input_PointerStyle

North-west arrow

Available since API-level: 22

Source

pub const SOUTH_EAST: Input_PointerStyle

South-east arrow

Available since API-level: 22

Source

pub const SOUTH_WEST: Input_PointerStyle

South-west arrow

Available since API-level: 22

Source

pub const NORTH_EAST_SOUTH_WEST: Input_PointerStyle

Northeast and southwest adjustment

Available since API-level: 22

Source

pub const NORTH_WEST_SOUTH_EAST: Input_PointerStyle

Northwest and southeast adjustment

Available since API-level: 22

Source

pub const CROSS: Input_PointerStyle

Cross (accurate selection)

Available since API-level: 22

Source

pub const CURSOR_COPY: Input_PointerStyle

Copy

Available since API-level: 22

Source

pub const CURSOR_FORBID: Input_PointerStyle

Forbid

Available since API-level: 22

Source

pub const COLOR_SUCKER: Input_PointerStyle

Sucker

Available since API-level: 22

Source

pub const HAND_GRABBING: Input_PointerStyle

Grabbing hand

Available since API-level: 22

Source

pub const HAND_OPEN: Input_PointerStyle

Opening hand

Available since API-level: 22

Source

pub const HAND_POINTING: Input_PointerStyle

Hand-shaped pointer

Available since API-level: 22

Source

pub const HELP: Input_PointerStyle

Help

Available since API-level: 22

Source

pub const MOVE: Input_PointerStyle

Move

Available since API-level: 22

Source

pub const RESIZE_LEFT_RIGHT: Input_PointerStyle

Left and right resizing

Available since API-level: 22

Source

pub const RESIZE_UP_DOWN: Input_PointerStyle

Up and down resizing

Available since API-level: 22

Source

pub const SCREENSHOT_CHOOSE: Input_PointerStyle

Screenshot crosshair

Available since API-level: 22

Source

pub const SCREENSHOT_CURSOR: Input_PointerStyle

Screenshot

Available since API-level: 22

Source

pub const TEXT_CURSOR: Input_PointerStyle

Text selection

Available since API-level: 22

Source

pub const ZOOM_IN: Input_PointerStyle

Zoom in

Available since API-level: 22

Source

pub const ZOOM_OUT: Input_PointerStyle

Zoom out

Available since API-level: 22

Source

pub const MIDDLE_BTN_EAST: Input_PointerStyle

Scrolling east

Available since API-level: 22

Source

pub const MIDDLE_BTN_WEST: Input_PointerStyle

Scrolling west

Available since API-level: 22

Source

pub const MIDDLE_BTN_SOUTH: Input_PointerStyle

Scrolling south

Available since API-level: 22

Source

pub const MIDDLE_BTN_NORTH: Input_PointerStyle

Scrolling north

Available since API-level: 22

Source

pub const MIDDLE_BTN_NORTH_SOUTH: Input_PointerStyle

Scrolling north and south

Available since API-level: 22

Source

pub const MIDDLE_BTN_NORTH_EAST: Input_PointerStyle

Scrolling northeast

Available since API-level: 22

Source

pub const MIDDLE_BTN_NORTH_WEST: Input_PointerStyle

Scrolling northwest

Available since API-level: 22

Source

pub const MIDDLE_BTN_SOUTH_EAST: Input_PointerStyle

Scrolling southeast

Available since API-level: 22

Source

pub const MIDDLE_BTN_SOUTH_WEST: Input_PointerStyle

Scrolling southwest

Available since API-level: 22

Source

pub const MIDDLE_BTN_NORTH_SOUTH_WEST_EAST: Input_PointerStyle

Moving as a cone in four directions

Available since API-level: 22

Source

pub const HORIZONTAL_TEXT_CURSOR: Input_PointerStyle

Horizontal text selection

Available since API-level: 22

Source

pub const CURSOR_CROSS: Input_PointerStyle

Precise selection

Available since API-level: 22

Source

pub const CURSOR_CIRCLE: Input_PointerStyle

Cursor with circle style

Available since API-level: 22

Source

pub const LOADING: Input_PointerStyle

Loading state with dynamic cursor

Available since API-level: 22

Source

pub const RUNNING: Input_PointerStyle

Running state with dynamic cursor

Available since API-level: 22

Source

pub const MIDDLE_BTN_EAST_WEST: Input_PointerStyle

Scrolling east and west

Available since API-level: 22

Source

pub const RUNNING_LEFT: Input_PointerStyle

Left part of running state with dynamic cursor

Available since API-level: 22

Source

pub const RUNNING_RIGHT: Input_PointerStyle

Right part of running state with dynamic cursor

Available since API-level: 22

Source

pub const AECH_DEVELOPER_DEFINED_ICON: Input_PointerStyle

Circular cursor

Available since API-level: 22

Source

pub const SCREENRECORDER_CURSOR: Input_PointerStyle

Screen Recording

Available since API-level: 22

Source

pub const LASER_CURSOR: Input_PointerStyle

Laser

Available since API-level: 22

Source

pub const LASER_CURSOR_DOT: Input_PointerStyle

Dot laser

Available since API-level: 22

Source

pub const LASER_CURSOR_DOT_RED: Input_PointerStyle

Red dot laser

Available since API-level: 22

Source

pub const DEVELOPER_DEFINED_ICON: Input_PointerStyle

Developer defined

Available since API-level: 22

Trait Implementations§

Source§

impl Clone for Input_PointerStyle

Source§

fn clone(&self) -> Input_PointerStyle

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Input_PointerStyle

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Hash for Input_PointerStyle

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for Input_PointerStyle

Source§

fn eq(&self, other: &Input_PointerStyle) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for Input_PointerStyle

Source§

impl Eq for Input_PointerStyle

Source§

impl StructuralPartialEq for Input_PointerStyle

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.