#[repr(transparent)]pub struct ArkUI_ImageSpanAlignment(pub c_uint);Available on crate feature
api-12 only.Expand description
Enumerates the alignment mode of the image with the text.
Available since API-level: 12
Tuple Fields§
§0: c_uintImplementations§
Source§impl ArkUI_ImageSpanAlignment
impl ArkUI_ImageSpanAlignment
Sourcepub const ARKUI_IMAGE_SPAN_ALIGNMENT_BASELINE: ArkUI_ImageSpanAlignment
pub const ARKUI_IMAGE_SPAN_ALIGNMENT_BASELINE: ArkUI_ImageSpanAlignment
The image is bottom aligned with the text baseline.
Sourcepub const ARKUI_IMAGE_SPAN_ALIGNMENT_BOTTOM: ArkUI_ImageSpanAlignment
pub const ARKUI_IMAGE_SPAN_ALIGNMENT_BOTTOM: ArkUI_ImageSpanAlignment
The image is bottom aligned with the text.
Sourcepub const ARKUI_IMAGE_SPAN_ALIGNMENT_CENTER: ArkUI_ImageSpanAlignment
pub const ARKUI_IMAGE_SPAN_ALIGNMENT_CENTER: ArkUI_ImageSpanAlignment
The image is centered aligned with the text.
Sourcepub const ARKUI_IMAGE_SPAN_ALIGNMENT_TOP: ArkUI_ImageSpanAlignment
pub const ARKUI_IMAGE_SPAN_ALIGNMENT_TOP: ArkUI_ImageSpanAlignment
The image is top aligned with the text.
Sourcepub const ARKUI_IMAGE_SPAN_ALIGNMENT_FOLLOW_PARAGRAPH: ArkUI_ImageSpanAlignment
Available on crate feature api-20 only.
pub const ARKUI_IMAGE_SPAN_ALIGNMENT_FOLLOW_PARAGRAPH: ArkUI_ImageSpanAlignment
api-20 only.The image alignment mode follows the text component’s alignment mode.
Available since API-level: 20
Trait Implementations§
Source§impl Clone for ArkUI_ImageSpanAlignment
impl Clone for ArkUI_ImageSpanAlignment
Source§fn clone(&self) -> ArkUI_ImageSpanAlignment
fn clone(&self) -> ArkUI_ImageSpanAlignment
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_ImageSpanAlignment
impl Debug for ArkUI_ImageSpanAlignment
Source§impl Hash for ArkUI_ImageSpanAlignment
impl Hash for ArkUI_ImageSpanAlignment
Source§impl PartialEq for ArkUI_ImageSpanAlignment
impl PartialEq for ArkUI_ImageSpanAlignment
impl Copy for ArkUI_ImageSpanAlignment
impl Eq for ArkUI_ImageSpanAlignment
impl StructuralPartialEq for ArkUI_ImageSpanAlignment
Auto Trait Implementations§
impl Freeze for ArkUI_ImageSpanAlignment
impl RefUnwindSafe for ArkUI_ImageSpanAlignment
impl Send for ArkUI_ImageSpanAlignment
impl Sync for ArkUI_ImageSpanAlignment
impl Unpin for ArkUI_ImageSpanAlignment
impl UnwindSafe for ArkUI_ImageSpanAlignment
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)