pub struct Viewer {
pub command: String,
pub copious: bool,
pub needsterminal: bool,
pub nametemplate: Option<String>,
}Expand description
What view-mailcap needs of the entry it picked.
Fields§
§command: String§copious: boolWrites plain text to stdout rather than taking the terminal.
needsterminal: boolWants the terminal (needsterminal): a curses viewer, not a
windowed one.
nametemplate: Option<String>The temp file name shape the viewer wants, when it says.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Viewer
impl RefUnwindSafe for Viewer
impl Send for Viewer
impl Sync for Viewer
impl Unpin for Viewer
impl UnsafeUnpin for Viewer
impl UnwindSafe for Viewer
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