#[repr(transparent)]pub struct ArkUI_BlurStyleActivePolicy(pub c_uint);Available on crate features
api-12 and api-19 only.Expand description
Enumerates the activation policies for the background blur effect.
Available since API-level: 19
Tuple Fields§
§0: c_uintImplementations§
Source§impl ArkUI_BlurStyleActivePolicy
impl ArkUI_BlurStyleActivePolicy
Sourcepub const ARKUI_BLUR_STYLE_ACTIVE_POLICY_FOLLOWS_WINDOW_ACTIVE_STATE: ArkUI_BlurStyleActivePolicy
pub const ARKUI_BLUR_STYLE_ACTIVE_POLICY_FOLLOWS_WINDOW_ACTIVE_STATE: ArkUI_BlurStyleActivePolicy
The blur effect changes according to the window’s focus state; it is inactive when the window is not in focus and active when the window is in focus.
Sourcepub const ARKUI_BLUR_STYLE_ACTIVE_POLICY_ALWAYS_ACTIVE: ArkUI_BlurStyleActivePolicy
pub const ARKUI_BLUR_STYLE_ACTIVE_POLICY_ALWAYS_ACTIVE: ArkUI_BlurStyleActivePolicy
The blur effect is always active.
Sourcepub const ARKUI_BLUR_STYLE_ACTIVE_POLICY_ALWAYS_INACTIVE: ArkUI_BlurStyleActivePolicy
pub const ARKUI_BLUR_STYLE_ACTIVE_POLICY_ALWAYS_INACTIVE: ArkUI_BlurStyleActivePolicy
The blur effect is always inactive.
Trait Implementations§
Source§impl Clone for ArkUI_BlurStyleActivePolicy
impl Clone for ArkUI_BlurStyleActivePolicy
Source§fn clone(&self) -> ArkUI_BlurStyleActivePolicy
fn clone(&self) -> ArkUI_BlurStyleActivePolicy
Returns a duplicate of the value. Read more
1.0.0§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_BlurStyleActivePolicy
impl Debug for ArkUI_BlurStyleActivePolicy
Source§impl Hash for ArkUI_BlurStyleActivePolicy
impl Hash for ArkUI_BlurStyleActivePolicy
impl Copy for ArkUI_BlurStyleActivePolicy
impl Eq for ArkUI_BlurStyleActivePolicy
impl StructuralPartialEq for ArkUI_BlurStyleActivePolicy
Auto Trait Implementations§
impl Freeze for ArkUI_BlurStyleActivePolicy
impl RefUnwindSafe for ArkUI_BlurStyleActivePolicy
impl Send for ArkUI_BlurStyleActivePolicy
impl Sync for ArkUI_BlurStyleActivePolicy
impl Unpin for ArkUI_BlurStyleActivePolicy
impl UnwindSafe for ArkUI_BlurStyleActivePolicy
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)