pub struct Wrapped<'a> { /* private fields */ }
Implementations§
source§impl<'a> Wrapped<'a>
impl<'a> Wrapped<'a>
pub fn new(cows: Vec<Cow<'a, str>>, style: Style) -> Self
pub fn get_style(&self) -> &Style
pub fn set_wrap_width(&mut self, width: usize)
pub fn get_wrap_width(&self) -> usize
pub fn get_line(&self, line: usize) -> String
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Wrapped<'a>
impl<'a> Send for Wrapped<'a>
impl<'a> Sync for Wrapped<'a>
impl<'a> Unpin for Wrapped<'a>
impl<'a> UnwindSafe for Wrapped<'a>
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