pub struct PagerOptions<'a> {
pub colors: HashMap<&'a str, Color>,
pub search: bool,
pub line_number: bool,
}
Expand description
options for Moins
see the examples
Fields§
§colors: HashMap<&'a str, Color>
add color to the matching term
search: bool
§line_number: bool
Auto Trait Implementations§
impl<'a> Freeze for PagerOptions<'a>
impl<'a> RefUnwindSafe for PagerOptions<'a>
impl<'a> Send for PagerOptions<'a>
impl<'a> Sync for PagerOptions<'a>
impl<'a> Unpin for PagerOptions<'a>
impl<'a> UnwindSafe for PagerOptions<'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