pub enum ShowOptionsMode {
Resolved,
ResolvedWithInheritanceMarkers,
Explicit,
}Expand description
Option rendering mode for show-options.
Variants§
Resolved
Render the fully resolved view for each known option.
ResolvedWithInheritanceMarkers
Render the resolved view and mark inherited values with *, matching show-options -A.
Explicit
Render only entries explicitly present in the selected tree.
Trait Implementations§
Source§impl Clone for ShowOptionsMode
impl Clone for ShowOptionsMode
Source§fn clone(&self) -> ShowOptionsMode
fn clone(&self) -> ShowOptionsMode
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 ShowOptionsMode
Source§impl Debug for ShowOptionsMode
impl Debug for ShowOptionsMode
impl Eq for ShowOptionsMode
Source§impl PartialEq for ShowOptionsMode
impl PartialEq for ShowOptionsMode
Source§fn eq(&self, other: &ShowOptionsMode) -> bool
fn eq(&self, other: &ShowOptionsMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ShowOptionsMode
Auto Trait Implementations§
impl Freeze for ShowOptionsMode
impl RefUnwindSafe for ShowOptionsMode
impl Send for ShowOptionsMode
impl Sync for ShowOptionsMode
impl Unpin for ShowOptionsMode
impl UnsafeUnpin for ShowOptionsMode
impl UnwindSafe for ShowOptionsMode
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