#[repr(transparent)]pub struct ArkUI_TextInputStyle(pub c_uint);Available on crate feature
api-12 only.Expand description
Defines the text input style.
Available since API-level: 12
Tuple Fields§
§0: c_uintImplementations§
Source§impl ArkUI_TextInputStyle
impl ArkUI_TextInputStyle
Sourcepub const ARKUI_TEXTINPUT_STYLE_DEFAULT: ArkUI_TextInputStyle
pub const ARKUI_TEXTINPUT_STYLE_DEFAULT: ArkUI_TextInputStyle
Default style. The caret width is fixed at 1.5 vp, and the caret height is subject to the background height and font size of the selected text.
Sourcepub const ARKUI_TEXTINPUT_STYLE_INLINE: ArkUI_TextInputStyle
pub const ARKUI_TEXTINPUT_STYLE_INLINE: ArkUI_TextInputStyle
Inline input style. The background height of the selected text is the same as the height of the text box.
Trait Implementations§
Source§impl Clone for ArkUI_TextInputStyle
impl Clone for ArkUI_TextInputStyle
Source§fn clone(&self) -> ArkUI_TextInputStyle
fn clone(&self) -> ArkUI_TextInputStyle
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_TextInputStyle
impl Debug for ArkUI_TextInputStyle
Source§impl Hash for ArkUI_TextInputStyle
impl Hash for ArkUI_TextInputStyle
Source§impl PartialEq for ArkUI_TextInputStyle
impl PartialEq for ArkUI_TextInputStyle
impl Copy for ArkUI_TextInputStyle
impl Eq for ArkUI_TextInputStyle
impl StructuralPartialEq for ArkUI_TextInputStyle
Auto Trait Implementations§
impl Freeze for ArkUI_TextInputStyle
impl RefUnwindSafe for ArkUI_TextInputStyle
impl Send for ArkUI_TextInputStyle
impl Sync for ArkUI_TextInputStyle
impl Unpin for ArkUI_TextInputStyle
impl UnwindSafe for ArkUI_TextInputStyle
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)