pub struct Wrapper<'a, 'b> { /* private fields */ }
Implementations§
source§impl<'a, 'b> Wrapper<'a, 'b>where
'a: 'b,
impl<'a, 'b> Wrapper<'a, 'b>where 'a: 'b,
pub fn new(data: &'a [Vec<Cow<'b, str>>]) -> Self
pub fn wrap(&mut self, max_width: usize)
sourcepub fn wrap_with(&mut self, styles: &[Style], max_width: usize)
pub fn wrap_with(&mut self, styles: &[Style], max_width: usize)
Modify wrap_width if wrap_width is 0