#[repr(transparent)]pub struct ArkUI_DragPreviewScaleMode(pub c_uint);Available on crate feature
api-12 only.Expand description
Defines an enum for drag preview scale modes.
Available since API-level: 12
Tuple Fields§
§0: c_uintImplementations§
Source§impl ArkUI_DragPreviewScaleMode
impl ArkUI_DragPreviewScaleMode
Sourcepub const ARKUI_DRAG_PREVIEW_SCALE_AUTO: ArkUI_DragPreviewScaleMode
pub const ARKUI_DRAG_PREVIEW_SCALE_AUTO: ArkUI_DragPreviewScaleMode
The system automatically changes the position of the dragged point based on the scenario and scales the drag preview based on set rules.
Source§impl ArkUI_DragPreviewScaleMode
impl ArkUI_DragPreviewScaleMode
Sourcepub const ARKUI_DRAG_PREVIEW_SCALE_DISABLED: ArkUI_DragPreviewScaleMode
pub const ARKUI_DRAG_PREVIEW_SCALE_DISABLED: ArkUI_DragPreviewScaleMode
The system does not scale the drag preview.
Trait Implementations§
Source§impl Clone for ArkUI_DragPreviewScaleMode
impl Clone for ArkUI_DragPreviewScaleMode
Source§fn clone(&self) -> ArkUI_DragPreviewScaleMode
fn clone(&self) -> ArkUI_DragPreviewScaleMode
Returns a copy 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 Hash for ArkUI_DragPreviewScaleMode
impl Hash for ArkUI_DragPreviewScaleMode
impl Eq for ArkUI_DragPreviewScaleMode
impl StructuralPartialEq for ArkUI_DragPreviewScaleMode
Auto Trait Implementations§
impl Freeze for ArkUI_DragPreviewScaleMode
impl RefUnwindSafe for ArkUI_DragPreviewScaleMode
impl Send for ArkUI_DragPreviewScaleMode
impl Sync for ArkUI_DragPreviewScaleMode
impl Unpin for ArkUI_DragPreviewScaleMode
impl UnwindSafe for ArkUI_DragPreviewScaleMode
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