pub struct PagerStyle<'a> {
pub quote_re: &'a Regex,
pub markers: bool,
pub smart_wrap: bool,
}Expand description
The pager display: header block, separator, wrapped body (with
mutt’s + continuation markers), each row classified for
coloring. The scroll math, the body search, and the drawing all
share this; T (hide_quoted) drops quoted rows here, so every
consumer agrees on what a line number means.
What the config says about drawing a message: which lines count as
quoted, whether a wrapped line is marked, and whether it breaks at
a word.
Fields§
§quote_re: &'a Regex§markers: boolmutt’s $markers.
smart_wrap: boolmutt’s $smart_wrap.
Implementations§
Auto Trait Implementations§
impl<'a> Freeze for PagerStyle<'a>
impl<'a> RefUnwindSafe for PagerStyle<'a>
impl<'a> Send for PagerStyle<'a>
impl<'a> Sync for PagerStyle<'a>
impl<'a> Unpin for PagerStyle<'a>
impl<'a> UnsafeUnpin for PagerStyle<'a>
impl<'a> UnwindSafe for PagerStyle<'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