pub struct Cell { /* private fields */ }Implementations§
Source§impl Cell
impl Cell
pub fn new<T>(content: T) -> Self
pub fn content<T>(self, content: T) -> Self
pub const fn column_span(self, column_span: u16) -> Self
pub fn style<S: Into<Style>>(self, style: S) -> Self
pub fn text(&self) -> &Text
pub const fn style_value(&self) -> Style
pub const fn column_span_value(&self) -> u16
pub fn width(&self) -> usize
pub fn height(&self) -> usize
Trait Implementations§
impl Eq for Cell
impl StructuralPartialEq for Cell
Auto Trait Implementations§
impl Freeze for Cell
impl RefUnwindSafe for Cell
impl Send for Cell
impl Sync for Cell
impl Unpin for Cell
impl UnsafeUnpin for Cell
impl UnwindSafe for Cell
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