pub enum ViewMode {
Tree,
Pages,
}Expand description
Variants§
Tree
Every visible node at once, indented by depth. Best when the whole document fits on a screen and you want to read it as a document.
Pages
One container at a time, pushed and popped. Best when it doesn’t.
Trait Implementations§
impl Copy for ViewMode
impl Eq for ViewMode
impl StructuralPartialEq for ViewMode
Auto Trait Implementations§
impl Freeze for ViewMode
impl RefUnwindSafe for ViewMode
impl Send for ViewMode
impl Sync for ViewMode
impl Unpin for ViewMode
impl UnsafeUnpin for ViewMode
impl UnwindSafe for ViewMode
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