#[repr(transparent)]pub struct ArkUI_BarState(pub c_uint);Available on crate features
api-12 and api-22 only.Expand description
Enumerates the status of the scroll bar.
Available since API-level: 22
Tuple Fields§
§0: c_uintImplementations§
Source§impl ArkUI_BarState
impl ArkUI_BarState
Sourcepub const ARKUI_BAR_STATE_OFF: ArkUI_BarState
pub const ARKUI_BAR_STATE_OFF: ArkUI_BarState
Not displayed.
Sourcepub const ARKUI_BAR_STATE_AUTO: ArkUI_BarState
pub const ARKUI_BAR_STATE_AUTO: ArkUI_BarState
On-demand display.
Sourcepub const ARKUI_BAR_STATE_ON: ArkUI_BarState
pub const ARKUI_BAR_STATE_ON: ArkUI_BarState
Resident display.
Trait Implementations§
Source§impl Clone for ArkUI_BarState
impl Clone for ArkUI_BarState
Source§fn clone(&self) -> ArkUI_BarState
fn clone(&self) -> ArkUI_BarState
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_BarState
impl Debug for ArkUI_BarState
Source§impl Hash for ArkUI_BarState
impl Hash for ArkUI_BarState
Source§impl PartialEq for ArkUI_BarState
impl PartialEq for ArkUI_BarState
Source§fn eq(&self, other: &ArkUI_BarState) -> bool
fn eq(&self, other: &ArkUI_BarState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ArkUI_BarState
impl Eq for ArkUI_BarState
impl StructuralPartialEq for ArkUI_BarState
Auto Trait Implementations§
impl Freeze for ArkUI_BarState
impl RefUnwindSafe for ArkUI_BarState
impl Send for ArkUI_BarState
impl Sync for ArkUI_BarState
impl Unpin for ArkUI_BarState
impl UnsafeUnpin for ArkUI_BarState
impl UnwindSafe for ArkUI_BarState
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