ohos_arkui_binding/component/built_in_component/
row.rs1impl super::Row {
5 pub fn set_row_align_items<T: Into<crate::ArkUINodeAttributeItem>>(
6 &self,
7 value: T,
8 ) -> crate::ArkUIResult<()> {
9 <Self as crate::ArkUICommonAttribute>::set_attribute(
10 self,
11 crate::ArkUINodeAttributeType::RowAlignItems,
12 value.into(),
13 )
14 }
15
16 pub fn get_row_align_items(&self) -> crate::ArkUIResult<crate::ArkUINodeAttributeItem> {
17 <Self as crate::ArkUICommonAttribute>::get_attribute(
18 self,
19 crate::ArkUINodeAttributeType::RowAlignItems,
20 )
21 }
22
23 pub fn set_row_justify_content<T: Into<crate::ArkUINodeAttributeItem>>(
24 &self,
25 value: T,
26 ) -> crate::ArkUIResult<()> {
27 <Self as crate::ArkUICommonAttribute>::set_attribute(
28 self,
29 crate::ArkUINodeAttributeType::RowJustifyContent,
30 value.into(),
31 )
32 }
33
34 pub fn get_row_justify_content(&self) -> crate::ArkUIResult<crate::ArkUINodeAttributeItem> {
35 <Self as crate::ArkUICommonAttribute>::get_attribute(
36 self,
37 crate::ArkUINodeAttributeType::RowJustifyContent,
38 )
39 }
40}
41