pub struct Col {
pub header: CellDef,
pub content: CellDef,
}Fields§
§header: CellDef§content: CellDefImplementations§
Source§impl Col
impl Col
pub fn simple<S: AsRef<str>>(var_name: S) -> Self
pub fn new<H: Into<String>, C: Into<String>>( header_md: H, content_md: C, ) -> Self
pub fn align(self, align: Alignment) -> Self
pub fn align_header(self, align: Alignment) -> Self
pub fn align_content(self, align: Alignment) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Col
impl RefUnwindSafe for Col
impl Send for Col
impl Sync for Col
impl Unpin for Col
impl UnwindSafe for Col
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