pub struct ListComponent {
pub common: ComponentCommon,
pub children: ChildList,
pub direction: Option<ListDirection>,
pub align: Option<AlignItems>,
}Expand description
列表组件
Fields§
§common: ComponentCommon§children: ChildList子组件列表
direction: Option<ListDirection>列表方向
align: Option<AlignItems>交叉轴对齐方式
Trait Implementations§
Source§impl Clone for ListComponent
impl Clone for ListComponent
Source§fn clone(&self) -> ListComponent
fn clone(&self) -> ListComponent
Returns a duplicate 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 Debug for ListComponent
impl Debug for ListComponent
Source§impl<'de> Deserialize<'de> for ListComponent
impl<'de> Deserialize<'de> for ListComponent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ListComponent
impl PartialEq for ListComponent
Source§impl Serialize for ListComponent
impl Serialize for ListComponent
impl StructuralPartialEq for ListComponent
Auto Trait Implementations§
impl Freeze for ListComponent
impl RefUnwindSafe for ListComponent
impl Send for ListComponent
impl Sync for ListComponent
impl Unpin for ListComponent
impl UnsafeUnpin for ListComponent
impl UnwindSafe for ListComponent
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