pub struct RowComponent {
pub common: ComponentCommon,
pub children: ChildList,
pub justify: Option<JustifyContent>,
pub align: Option<AlignItems>,
}Expand description
水平布局组件
Fields§
§common: ComponentCommon§children: ChildList子组件列表
justify: Option<JustifyContent>主轴对齐方式
align: Option<AlignItems>交叉轴对齐方式
Trait Implementations§
Source§impl Clone for RowComponent
impl Clone for RowComponent
Source§fn clone(&self) -> RowComponent
fn clone(&self) -> RowComponent
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 RowComponent
impl Debug for RowComponent
Source§impl<'de> Deserialize<'de> for RowComponent
impl<'de> Deserialize<'de> for RowComponent
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 RowComponent
impl PartialEq for RowComponent
Source§impl Serialize for RowComponent
impl Serialize for RowComponent
impl StructuralPartialEq for RowComponent
Auto Trait Implementations§
impl Freeze for RowComponent
impl RefUnwindSafe for RowComponent
impl Send for RowComponent
impl Sync for RowComponent
impl Unpin for RowComponent
impl UnsafeUnpin for RowComponent
impl UnwindSafe for RowComponent
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