pub enum PrintOptionsMode {
Text,
Latex,
Doxygen,
}Expand description
Format selector for RegisteredOptions::print_options_documentation.
Matches the print_options_mode registered string option.
Variants§
Implementations§
Source§impl PrintOptionsMode
impl PrintOptionsMode
Sourcepub fn from_tag(s: &str) -> Self
pub fn from_tag(s: &str) -> Self
Parse the print_options_mode tag (case-insensitive). Falls
back to PrintOptionsMode::Text for unrecognized values so
the option dump still appears.
Trait Implementations§
Source§impl Clone for PrintOptionsMode
impl Clone for PrintOptionsMode
Source§fn clone(&self) -> PrintOptionsMode
fn clone(&self) -> PrintOptionsMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PrintOptionsMode
impl Debug for PrintOptionsMode
Source§impl PartialEq for PrintOptionsMode
impl PartialEq for PrintOptionsMode
Source§fn eq(&self, other: &PrintOptionsMode) -> bool
fn eq(&self, other: &PrintOptionsMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PrintOptionsMode
impl Eq for PrintOptionsMode
impl StructuralPartialEq for PrintOptionsMode
Auto Trait Implementations§
impl Freeze for PrintOptionsMode
impl RefUnwindSafe for PrintOptionsMode
impl Send for PrintOptionsMode
impl Sync for PrintOptionsMode
impl Unpin for PrintOptionsMode
impl UnsafeUnpin for PrintOptionsMode
impl UnwindSafe for PrintOptionsMode
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