pub struct SavedView {
pub key: char,
pub name: String,
pub query: String,
}Expand description
A saved visibility query, reachable from a key.
The query is stored verbatim. A saved view sets the query bar’s contents and nothing else, it is a bookmark, not a mode, so after selecting one the text is still right there to edit.
Fields§
§key: char1–9. Views are reached with the leader key, because a bare digit in Normal mode
is the start of a count.
name: String§query: StringTrait Implementations§
impl Eq for SavedView
impl StructuralPartialEq for SavedView
Auto Trait Implementations§
impl Freeze for SavedView
impl RefUnwindSafe for SavedView
impl Send for SavedView
impl Sync for SavedView
impl Unpin for SavedView
impl UnsafeUnpin for SavedView
impl UnwindSafe for SavedView
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