#[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.
Source§impl ArkUI_TextInputStyle
impl ArkUI_TextInputStyle
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 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_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§
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