pub struct SessionUiState {
pub sidebar_mode: SessionSidebarMode,
pub reader_profile: ReaderProfile,
pub reader_profile_manual: bool,
}Expand description
Persisted terminal UI state for a browsing session.
Fields§
Last selected sidebar mode.
reader_profile: ReaderProfileLast selected reader profile.
reader_profile_manual: boolWhether the profile was selected explicitly by the user.
Trait Implementations§
Source§impl Clone for SessionUiState
impl Clone for SessionUiState
Source§fn clone(&self) -> SessionUiState
fn clone(&self) -> SessionUiState
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 SessionUiState
impl Debug for SessionUiState
Source§impl Default for SessionUiState
impl Default for SessionUiState
Source§fn default() -> SessionUiState
fn default() -> SessionUiState
Returns the “default value” for a type. Read more
Source§impl PartialEq for SessionUiState
impl PartialEq for SessionUiState
Source§fn eq(&self, other: &SessionUiState) -> bool
fn eq(&self, other: &SessionUiState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SessionUiState
impl StructuralPartialEq for SessionUiState
Auto Trait Implementations§
impl Freeze for SessionUiState
impl RefUnwindSafe for SessionUiState
impl Send for SessionUiState
impl Sync for SessionUiState
impl Unpin for SessionUiState
impl UnsafeUnpin for SessionUiState
impl UnwindSafe for SessionUiState
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