ohos_arkui_binding/component/built_in_component/
stack.rs1impl super::Stack {
5 pub fn set_stack_align_content<T: Into<crate::ArkUINodeAttributeItem>>(
6 &self,
7 value: T,
8 ) -> crate::ArkUIResult<()> {
9 <Self as crate::ArkUICommonAttribute>::set_attribute(
10 self,
11 crate::ArkUINodeAttributeType::StackAlignContent,
12 value.into(),
13 )
14 }
15
16 pub fn get_stack_align_content(&self) -> crate::ArkUIResult<crate::ArkUINodeAttributeItem> {
17 <Self as crate::ArkUICommonAttribute>::get_attribute(
18 self,
19 crate::ArkUINodeAttributeType::StackAlignContent,
20 )
21 }
22}
23