pub struct Row {
pub children: Vec<String>,
pub gap: String,
pub align: RowAlign,
pub justify: RowJustify,
pub wrap: bool,
pub class: String,
}Fields§
§children: Vec<String>§gap: String§align: RowAlign§justify: RowJustify§wrap: bool§class: StringImplementations§
Source§impl Row
impl Row
pub fn new() -> Row
pub fn child(self, child: String) -> Row
pub fn gap(self, gap: String) -> Row
pub fn align(self, align: RowAlign) -> Row
pub fn justify(self, justify: RowJustify) -> Row
pub fn wrap(self, wrap: bool) -> Row
pub fn class(self, class: String) -> Row
pub fn render(&self) -> String
Trait Implementations§
impl StructuralPartialEq for Row
Auto Trait Implementations§
impl Freeze for Row
impl RefUnwindSafe for Row
impl Send for Row
impl Sync for Row
impl Unpin for Row
impl UnwindSafe for Row
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