pub struct RowSpec {
pub horizontal_arrangement: LinearArrangement,
pub vertical_alignment: VerticalAlignment,
}Expand description
Re-export the UI crate so applications can depend on a single crate. Specification for Row layout behavior.
Fields§
§horizontal_arrangement: LinearArrangement§vertical_alignment: VerticalAlignmentImplementations§
Source§impl RowSpec
impl RowSpec
pub fn new() -> RowSpec
pub fn horizontal_arrangement(self, arrangement: LinearArrangement) -> RowSpec
pub fn vertical_alignment(self, alignment: VerticalAlignment) -> RowSpec
Trait Implementations§
impl Copy for RowSpec
impl StructuralPartialEq for RowSpec
Auto Trait Implementations§
impl Freeze for RowSpec
impl RefUnwindSafe for RowSpec
impl Send for RowSpec
impl Sync for RowSpec
impl Unpin for RowSpec
impl UnsafeUnpin for RowSpec
impl UnwindSafe for RowSpec
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