pub enum FlattenMode {
Display,
Print,
}Expand description
Which annotations flattening draws.
Variants§
Display
What a viewer shows: every annotation not flagged invisible.
What a printer shows: only annotations flagged for print.
Trait Implementations§
Source§impl Clone for FlattenMode
impl Clone for FlattenMode
Source§fn clone(&self) -> FlattenMode
fn clone(&self) -> FlattenMode
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 moreimpl Copy for FlattenMode
Source§impl Debug for FlattenMode
impl Debug for FlattenMode
Source§impl Display for FlattenMode
impl Display for FlattenMode
impl Eq for FlattenMode
Source§impl FromStr for FlattenMode
impl FromStr for FlattenMode
Source§fn from_str(s: &str) -> Result<FlattenMode, UnknownFlattenMode>
fn from_str(s: &str) -> Result<FlattenMode, UnknownFlattenMode>
The inverse of Display — what a --mode flag
parses.
§Errors
UnknownFlattenMode for anything but display and print.
Source§type Err = UnknownFlattenMode
type Err = UnknownFlattenMode
The associated error which can be returned from parsing.
Source§impl PartialEq for FlattenMode
impl PartialEq for FlattenMode
impl StructuralPartialEq for FlattenMode
Auto Trait Implementations§
impl Freeze for FlattenMode
impl RefUnwindSafe for FlattenMode
impl Send for FlattenMode
impl Sync for FlattenMode
impl Unpin for FlattenMode
impl UnsafeUnpin for FlattenMode
impl UnwindSafe for FlattenMode
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