#[repr(transparent)]pub struct ArkUI_RenderStrategy(pub c_uint);Available on crate features
api-12 and api-23 only.Expand description
Enumerates the graphics rendering strategy.
Available since API-level: 23
Tuple Fields§
§0: c_uintImplementations§
Source§impl ArkUI_RenderStrategy
impl ArkUI_RenderStrategy
Sourcepub const ARKUI_RENDERSTRATEGY_FAST: ArkUI_RenderStrategy
pub const ARKUI_RENDERSTRATEGY_FAST: ArkUI_RenderStrategy
The current component and its child components will be drawn directly onto the screen canvas.
Sourcepub const ARKUI_RENDERSTRATEGY_OFFSCREEN: ArkUI_RenderStrategy
pub const ARKUI_RENDERSTRATEGY_OFFSCREEN: ArkUI_RenderStrategy
The current component and its child components will first be drawn onto an off-screen canvas, then undergo some graphic rendering operations, and finally be drawn onto the main canvas.
Trait Implementations§
Source§impl Clone for ArkUI_RenderStrategy
impl Clone for ArkUI_RenderStrategy
Source§fn clone(&self) -> ArkUI_RenderStrategy
fn clone(&self) -> ArkUI_RenderStrategy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ArkUI_RenderStrategy
impl Debug for ArkUI_RenderStrategy
Source§impl Hash for ArkUI_RenderStrategy
impl Hash for ArkUI_RenderStrategy
Source§impl PartialEq for ArkUI_RenderStrategy
impl PartialEq for ArkUI_RenderStrategy
Source§fn eq(&self, other: &ArkUI_RenderStrategy) -> bool
fn eq(&self, other: &ArkUI_RenderStrategy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ArkUI_RenderStrategy
impl Eq for ArkUI_RenderStrategy
impl StructuralPartialEq for ArkUI_RenderStrategy
Auto Trait Implementations§
impl Freeze for ArkUI_RenderStrategy
impl RefUnwindSafe for ArkUI_RenderStrategy
impl Send for ArkUI_RenderStrategy
impl Sync for ArkUI_RenderStrategy
impl Unpin for ArkUI_RenderStrategy
impl UnsafeUnpin for ArkUI_RenderStrategy
impl UnwindSafe for ArkUI_RenderStrategy
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