pub enum ArkUINodeAttributeType {
Show 350 variants
Width,
Height,
BackgroundColor,
BackgroundImage,
Padding,
Id,
Enabled,
Margin,
Translate,
Scale,
Rotate,
Brightness,
Saturation,
Blur,
LinearGradient,
Alignment,
Opacity,
BorderWidth,
BorderRadius,
BorderColor,
BorderStyle,
ZIndex,
Visibility,
Clip,
ClipShape,
Transform,
HitTestBehavior,
Position,
Shadow,
CustomShadow,
BackgroundImageSize,
BackgroundImageSizeWithStyle,
BackgroundBlurStyle,
TransformCenter,
OpacityTransition,
RotateTransition,
ScaleTransition,
TranslateTransition,
MoveTransition,
Focusable,
DefaultFocus,
ResponseRegion,
Overlay,
SweepGradient,
RadialGradient,
Mask,
BlendMode,
Direction,
ConstraintSize,
GrayScale,
Invert,
Sepia,
Contrast,
ForegroundColor,
Offset,
MarkAnchor,
BackgroundImagePosition,
AlignRules,
AlignSelf,
FlexGrow,
FlexShrink,
FlexBasis,
AccessibilityGroup,
AccessibilityText,
AccessibilityMode,
AccessibilityDescription,
FocusStatus,
AspectRatio,
LayoutWeight,
DisplayPriority,
OutlineWidth,
WidthPercent,
HeightPercent,
PaddingPercent,
MarginPercent,
GeometryTransition,
RelativeLayoutChainMode,
RenderFit,
OutlineColor,
Size,
RenderGroup,
ColorBlend,
ForegroundBlurStyle,
LayoutRect,
FocusOnTouch,
BorderWidthPercent,
BorderRadiusPercent,
AccessibilityId,
AccessibilityActions,
AccessibilityRole,
AccessibilityState,
AccessibilityValue,
ExpandSafeArea,
VisibleAreaChangeRatio,
Transition,
UniqueId,
FocusBox,
ClickDistance,
TextContent,
FontColor,
FontSize,
FontStyle,
FontWeight,
TextLineHeight,
TextDecoration,
TextCase,
TextLetterSpacing,
TextMaxLines,
TextAlign,
TextOverflow,
FontFamily,
TextCopyOption,
TextBaselineOffset,
TextTextShadow,
TextMinFontSize,
TextMaxFontSize,
TextFont,
TextHeightAdaptivePolicy,
TextIndent,
TextWordBreak,
TextEllipsisMode,
TextLineSpacing,
FontFeature,
TextEnableDataDetector,
TextEnableDataDetectorConfig,
TextSelectedBackgroundColor,
TextContentWithStyledString,
TextHalfLeading,
SpanContent,
SpanTextBackgroundStyle,
SpanBaselineOffset,
ImageSpanSrc,
ImageSpanVerticalAlignment,
ImageSpanAlt,
ImageSrc,
ImageObjectFit,
ImageInterpolation,
ImageObjectRepeat,
ImageColorFilter,
ImageAutoResize,
ImageAlt,
ImageDraggable,
ImageRenderMode,
ImageFitOriginalSize,
ImageFillColor,
ImageResizable,
ToggleSelectedColor,
ToggleSwitchPointColor,
ToggleValue,
ToggleUnselectedColor,
LoadingProgressColor,
LoadingProgressEnableLoading,
TextInputPlaceholder,
TextInputText,
TextInputCaretColor,
TextInputCaretStyle,
TextInputShowUnderline,
TextInputMaxLength,
TextInputEnterKeyType,
TextInputPlaceholderColor,
TextInputPlaceholderFont,
TextInputEnableKeyboardOnFocus,
TextInputType,
TextInputSelectedBackgroundColor,
TextInputShowPasswordIcon,
TextInputEditing,
TextInputCancelButton,
TextInputTextSelection,
TextInputUnderlineColor,
TextInputEnableAutoFill,
TextInputContentType,
TextInputPasswordRules,
TextInputSelectAll,
TextInputInputFilter,
TextInputStyle,
TextInputCaretOffset,
TextInputContentRect,
TextInputContentLineCount,
TextInputSelectionMenuHidden,
TextInputBlurOnSubmit,
TextInputCustomKeyboard,
TextInputWordBreak,
TextInputShowKeyboardOnFocus,
TextInputNumberOfLines,
TextAreaPlaceholder,
TextAreaText,
TextAreaMaxLength,
TextAreaPlaceholderColor,
TextAreaPlaceholderFont,
TextAreaCaretColor,
TextAreaEditing,
TextAreaType,
TextAreaShowCounter,
TextAreaSelectionMenuHidden,
TextAreaBlurOnSubmit,
TextAreaInputFilter,
TextAreaSelectedBackgroundColor,
TextAreaEnterKeyType,
TextAreaEnableKeyboardOnFocus,
TextAreaCaretOffset,
TextAreaContentRect,
TextAreaContentLineCount,
TextAreaTextSelection,
TextAreaEnableAutoFill,
TextAreaContentType,
TextAreaShowKeyboardOnFocus,
TextAreaNumberOfLines,
ButtonLabel,
ButtonType,
ProgressValue,
ProgressTotal,
ProgressColor,
ProgressType,
CheckboxSelect,
CheckboxSelectColor,
CheckboxUnselectColor,
CheckboxMark,
CheckboxShape,
XComponentId,
XComponentType,
XComponentSurfaceSize,
DatePickerLunar,
DatePickerStart,
DatePickerEnd,
DatePickerSelected,
DatePickerDisappearTextStyle,
DatePickerTextStyle,
DatePickerSelectedTextStyle,
TimePickerSelected,
TimePickerUseMilitaryTime,
TimePickerDisappearTextStyle,
TimePickerTextStyle,
TimePickerSelectedTextStyle,
TextPickerOptionRange,
TextPickerOptionSelected,
TextPickerOptionValue,
TextPickerDisappearTextStyle,
TextPickerTextStyle,
TextPickerSelectedTextStyle,
TextPickerSelectedIndex,
TextPickerCanLoop,
TextPickerDefaultPickerItemHeight,
CalendarPickerHintRadius,
CalendarPickerSelectedDate,
CalendarPickerEdgeAlignment,
CalendarPickerTextStyle,
SliderBlockColor,
SliderTrackColor,
SliderSelectedColor,
SliderShowSteps,
SliderBlockStyle,
SliderValue,
SliderMinValue,
SliderMaxValue,
SliderStep,
SliderDirection,
SliderReverse,
SliderStyle,
SliderTrackThickness,
RadioChecked,
RadioStyle,
RadioValue,
RadioGroup,
ImageAnimatorImages,
ImageAnimatorState,
ImageAnimatorDuration,
ImageAnimatorReverse,
ImageAnimatorFixedSize,
ImageAnimatorFillMode,
ImageAnimatorIteration,
StackAlignContent,
ScrollBarDisplayMode,
ScrollBarWidth,
ScrollBarColor,
ScrollScrollDirection,
ScrollEdgeEffect,
ScrollEnableScrollInteraction,
ScrollFriction,
ScrollSnap,
ScrollNestedScroll,
ScrollOffset,
ScrollEdge,
ScrollEnablePaging,
ScrollPage,
ScrollBy,
ListDirection,
ListSticky,
ListSpace,
ListCachedCount,
ListScrollToIndex,
ListAlignListItem,
ListChildrenMainSize,
ListInitialIndex,
ListDivider,
SwiperLoop,
SwiperAutoPlay,
SwiperShowIndicator,
SwiperInterval,
SwiperVertical,
SwiperDuration,
SwiperCurve,
SwiperItemSpace,
SwiperIndex,
SwiperDisplayCount,
SwiperDisableSwipe,
SwiperShowDisplayArrow,
SwiperEdgeEffectMode,
SwiperNodeAdapter,
SwiperCachedCount,
SwiperPrevMargin,
SwiperNextMargin,
SwiperIndicator,
SwiperNestedScroll,
SwiperSwipeToIndex,
SwiperIndicatorInteractive,
ListItemSwipeAction,
ListItemGroupSetHeader,
ListItemGroupSetFooter,
ListItemGroupSetDivider,
ListItemGroupChildrenMainSize,
ColumnAlignItems,
ColumnJustifyContent,
RowAlignItems,
RowJustifyContent,
FlexOption,
RefreshRefreshing,
RefreshContent,
RefreshPullDownRatio,
RefreshOffset,
RefreshPullToRefresh,
WaterFlowLayoutDirection,
WaterFlowColumnTemplate,
WaterFlowRowTemplate,
WaterFlowColumnGap,
WaterFlowRowGap,
WaterFlowSectionOption,
WaterFlowNodeAdapter,
WaterFlowCachedCount,
WaterFlowFooter,
WaterFlowScrollToIndex,
WaterFlowItemConstraintSize,
RelativeContainerGuideLine,
RelativeContainerBarrier,
GridColumnTemplate,
GridRowTemplate,
GridColumnGap,
GridRowGap,
GridNodeAdapter,
GridCachedCount,
ListNodeAdapter,
}Expand description
ArkUI node attribute identifiers used by set_attribute/get_attribute.
Variants§
Width
Height
BackgroundColor
BackgroundImage
Padding
Id
Enabled
Margin
Translate
Scale
Rotate
Brightness
Saturation
Blur
LinearGradient
Alignment
Opacity
BorderWidth
BorderRadius
BorderColor
BorderStyle
ZIndex
Visibility
Clip
ClipShape
Transform
HitTestBehavior
Position
Shadow
CustomShadow
BackgroundImageSize
BackgroundImageSizeWithStyle
BackgroundBlurStyle
TransformCenter
OpacityTransition
RotateTransition
ScaleTransition
TranslateTransition
MoveTransition
Focusable
DefaultFocus
ResponseRegion
Overlay
SweepGradient
RadialGradient
Mask
BlendMode
Direction
ConstraintSize
GrayScale
Invert
Sepia
Contrast
ForegroundColor
Offset
MarkAnchor
BackgroundImagePosition
AlignRules
AlignSelf
FlexGrow
FlexShrink
FlexBasis
AccessibilityGroup
AccessibilityText
AccessibilityMode
AccessibilityDescription
FocusStatus
AspectRatio
LayoutWeight
DisplayPriority
OutlineWidth
WidthPercent
HeightPercent
PaddingPercent
MarginPercent
GeometryTransition
RelativeLayoutChainMode
RenderFit
OutlineColor
Size
RenderGroup
ColorBlend
ForegroundBlurStyle
LayoutRect
FocusOnTouch
BorderWidthPercent
BorderRadiusPercent
AccessibilityId
AccessibilityActions
AccessibilityRole
AccessibilityState
AccessibilityValue
ExpandSafeArea
VisibleAreaChangeRatio
Transition
UniqueId
FocusBox
ClickDistance
TextContent
FontColor
FontSize
FontStyle
FontWeight
TextLineHeight
TextDecoration
TextCase
TextLetterSpacing
TextMaxLines
TextAlign
TextOverflow
FontFamily
TextCopyOption
TextBaselineOffset
TextTextShadow
TextMinFontSize
TextMaxFontSize
TextFont
TextHeightAdaptivePolicy
TextIndent
TextWordBreak
TextEllipsisMode
TextLineSpacing
FontFeature
TextEnableDataDetector
TextEnableDataDetectorConfig
TextSelectedBackgroundColor
TextContentWithStyledString
TextHalfLeading
SpanContent
SpanTextBackgroundStyle
SpanBaselineOffset
ImageSpanSrc
ImageSpanVerticalAlignment
ImageSpanAlt
ImageSrc
ImageObjectFit
ImageInterpolation
ImageObjectRepeat
ImageColorFilter
ImageAutoResize
ImageAlt
ImageDraggable
ImageRenderMode
ImageFitOriginalSize
ImageFillColor
ImageResizable
ToggleSelectedColor
ToggleSwitchPointColor
ToggleValue
ToggleUnselectedColor
LoadingProgressColor
LoadingProgressEnableLoading
TextInputPlaceholder
TextInputText
TextInputCaretColor
TextInputCaretStyle
TextInputShowUnderline
TextInputMaxLength
TextInputEnterKeyType
TextInputPlaceholderColor
TextInputPlaceholderFont
TextInputEnableKeyboardOnFocus
TextInputType
TextInputSelectedBackgroundColor
TextInputShowPasswordIcon
TextInputEditing
TextInputCancelButton
TextInputTextSelection
TextInputUnderlineColor
TextInputEnableAutoFill
TextInputContentType
TextInputPasswordRules
TextInputSelectAll
TextInputInputFilter
TextInputStyle
TextInputCaretOffset
TextInputContentRect
TextInputContentLineCount
TextInputSelectionMenuHidden
TextInputBlurOnSubmit
TextInputCustomKeyboard
TextInputWordBreak
TextInputShowKeyboardOnFocus
TextInputNumberOfLines
TextAreaPlaceholder
TextAreaText
TextAreaMaxLength
TextAreaPlaceholderColor
TextAreaPlaceholderFont
TextAreaCaretColor
TextAreaEditing
TextAreaType
TextAreaShowCounter
TextAreaSelectionMenuHidden
TextAreaBlurOnSubmit
TextAreaInputFilter
TextAreaSelectedBackgroundColor
TextAreaEnterKeyType
TextAreaEnableKeyboardOnFocus
TextAreaCaretOffset
TextAreaContentRect
TextAreaContentLineCount
TextAreaTextSelection
TextAreaEnableAutoFill
TextAreaContentType
TextAreaShowKeyboardOnFocus
TextAreaNumberOfLines
ButtonLabel
ButtonType
ProgressValue
ProgressTotal
ProgressColor
ProgressType
CheckboxSelect
CheckboxSelectColor
CheckboxUnselectColor
CheckboxMark
CheckboxShape
XComponentId
XComponentType
XComponentSurfaceSize
DatePickerLunar
DatePickerStart
DatePickerEnd
DatePickerSelected
DatePickerDisappearTextStyle
DatePickerTextStyle
DatePickerSelectedTextStyle
TimePickerSelected
TimePickerUseMilitaryTime
TimePickerDisappearTextStyle
TimePickerTextStyle
TimePickerSelectedTextStyle
TextPickerOptionRange
TextPickerOptionSelected
TextPickerOptionValue
TextPickerDisappearTextStyle
TextPickerTextStyle
TextPickerSelectedTextStyle
TextPickerSelectedIndex
TextPickerCanLoop
TextPickerDefaultPickerItemHeight
CalendarPickerHintRadius
CalendarPickerSelectedDate
CalendarPickerEdgeAlignment
CalendarPickerTextStyle
SliderBlockColor
SliderTrackColor
SliderSelectedColor
SliderShowSteps
SliderBlockStyle
SliderValue
SliderMinValue
SliderMaxValue
SliderStep
SliderDirection
SliderReverse
SliderStyle
SliderTrackThickness
RadioChecked
RadioStyle
RadioValue
RadioGroup
ImageAnimatorImages
ImageAnimatorState
ImageAnimatorDuration
ImageAnimatorReverse
ImageAnimatorFixedSize
ImageAnimatorFillMode
ImageAnimatorIteration
StackAlignContent
ScrollBarDisplayMode
ScrollBarWidth
ScrollBarColor
ScrollScrollDirection
ScrollEdgeEffect
ScrollEnableScrollInteraction
ScrollFriction
ScrollSnap
ScrollNestedScroll
ScrollOffset
ScrollEdge
ScrollEnablePaging
ScrollPage
ScrollBy
ListDirection
ListSticky
ListSpace
ListCachedCount
ListScrollToIndex
ListAlignListItem
ListChildrenMainSize
ListInitialIndex
ListDivider
SwiperLoop
SwiperAutoPlay
SwiperShowIndicator
SwiperInterval
SwiperVertical
SwiperDuration
SwiperCurve
SwiperItemSpace
SwiperIndex
SwiperDisplayCount
SwiperDisableSwipe
SwiperShowDisplayArrow
SwiperEdgeEffectMode
SwiperNodeAdapter
SwiperCachedCount
SwiperPrevMargin
SwiperNextMargin
SwiperIndicator
SwiperNestedScroll
SwiperSwipeToIndex
SwiperIndicatorInteractive
ListItemSwipeAction
ListItemGroupSetHeader
ListItemGroupSetDivider
ListItemGroupChildrenMainSize
ColumnAlignItems
ColumnJustifyContent
RowAlignItems
RowJustifyContent
FlexOption
RefreshRefreshing
RefreshContent
RefreshPullDownRatio
RefreshOffset
RefreshPullToRefresh
WaterFlowLayoutDirection
WaterFlowColumnTemplate
WaterFlowRowTemplate
WaterFlowColumnGap
WaterFlowRowGap
WaterFlowSectionOption
WaterFlowNodeAdapter
WaterFlowCachedCount
WaterFlowScrollToIndex
WaterFlowItemConstraintSize
RelativeContainerGuideLine
RelativeContainerBarrier
GridColumnTemplate
GridRowTemplate
GridColumnGap
GridRowGap
GridNodeAdapter
GridCachedCount
ListNodeAdapter
Implementations§
Source§impl ArkUINodeAttributeType
impl ArkUINodeAttributeType
pub fn try_from_raw(attr: ArkUI_NodeAttributeType) -> Option<Self>
Trait Implementations§
Source§impl Clone for ArkUINodeAttributeType
impl Clone for ArkUINodeAttributeType
Source§fn clone(&self) -> ArkUINodeAttributeType
fn clone(&self) -> ArkUINodeAttributeType
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 ArkUINodeAttributeType
impl Debug for ArkUINodeAttributeType
Source§impl From<ArkUINodeAttributeType> for ArkUI_NodeAttributeType
impl From<ArkUINodeAttributeType> for ArkUI_NodeAttributeType
Source§fn from(attr: ArkUINodeAttributeType) -> Self
fn from(attr: ArkUINodeAttributeType) -> Self
Converts to this type from the input type.
Source§impl From<u32> for ArkUINodeAttributeType
impl From<u32> for ArkUINodeAttributeType
Source§fn from(attr: ArkUI_NodeAttributeType) -> Self
fn from(attr: ArkUI_NodeAttributeType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ArkUINodeAttributeType
impl PartialEq for ArkUINodeAttributeType
Source§fn eq(&self, other: &ArkUINodeAttributeType) -> bool
fn eq(&self, other: &ArkUINodeAttributeType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ArkUINodeAttributeType
impl Eq for ArkUINodeAttributeType
impl StructuralPartialEq for ArkUINodeAttributeType
Auto Trait Implementations§
impl Freeze for ArkUINodeAttributeType
impl RefUnwindSafe for ArkUINodeAttributeType
impl Send for ArkUINodeAttributeType
impl Sync for ArkUINodeAttributeType
impl Unpin for ArkUINodeAttributeType
impl UnsafeUnpin for ArkUINodeAttributeType
impl UnwindSafe for ArkUINodeAttributeType
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