Struct SearchResult
pub struct SearchResult<'a> { pub entry: Cow<'a, str>, pub idx: usize, pub pos: usize }
History search result
Fields
entry: Cow<'a, str>history entry
idx: usizehistory index
pos: usizematch position in
entry
Trait Implementations
impl<'a> Clone for SearchResult<'a>
fn clone(&self) -> Self
impl<'a> Debug for SearchResult<'a>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<'a> Eq for SearchResult<'a>
impl<'a> PartialEq for SearchResult<'a>
fn eq(&self, other: &Self) -> bool