pub struct Row { /* private fields */ }Implementations§
Source§impl Row
impl Row
pub fn new<T>(cells: T) -> Self
pub fn cells<T>(self, cells: T) -> Self
pub const fn height(self, height: u16) -> Self
pub const fn top_margin(self, margin: u16) -> Self
pub const fn bottom_margin(self, margin: u16) -> Self
pub fn style<S: Into<Style>>(self, style: S) -> Self
pub fn cells_ref(&self) -> &[Cell]
pub const fn height_value(&self) -> u16
pub const fn top_margin_value(&self) -> u16
pub const fn bottom_margin_value(&self) -> u16
pub const fn style_value(&self) -> Style
pub const fn height_with_margin(&self) -> u16
pub fn column_count(&self) -> usize
Trait Implementations§
Source§impl<Item> FromIterator<Item> for Row
impl<Item> FromIterator<Item> for Row
Source§fn from_iter<Iter: IntoIterator<Item = Item>>(iter: Iter) -> Self
fn from_iter<Iter: IntoIterator<Item = Item>>(iter: Iter) -> Self
Creates a value from an iterator. Read more
impl Eq for Row
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 UnsafeUnpin 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