[][src]Struct places::match_impl::AutocompleteMatch

pub struct AutocompleteMatch<'search, 'url, 'title, 'tags> {
    pub search_str: &'search str,
    pub url_str: &'url str,
    pub title_str: &'title str,
    pub tags: &'tags str,
    pub visit_count: u32,
    pub typed: bool,
    pub bookmarked: bool,
    pub open_page_count: u32,
    pub match_behavior: MatchBehavior,
    pub search_behavior: SearchBehavior,
}

Fields

search_str: &'search strurl_str: &'url strtitle_str: &'title strtags: &'tags strvisit_count: u32typed: boolbookmarked: boolopen_page_count: u32match_behavior: MatchBehaviorsearch_behavior: SearchBehavior

Implementations

impl<'search, 'url, 'title, 'tags> AutocompleteMatch<'search, 'url, 'title, 'tags>[src]

fn get_search_fn(&self) -> fn(_: &str, _: &str) -> bool[src]

fn fixup_url_str<'a>(&self, s: &'a str) -> Cow<'a, str>[src]

fn has_behavior(&self, behavior: SearchBehavior) -> bool[src]

pub fn invoke(&self) -> bool[src]

Auto Trait Implementations

impl<'search, 'url, 'title, 'tags> RefUnwindSafe for AutocompleteMatch<'search, 'url, 'title, 'tags>

impl<'search, 'url, 'title, 'tags> Send for AutocompleteMatch<'search, 'url, 'title, 'tags>

impl<'search, 'url, 'title, 'tags> Sync for AutocompleteMatch<'search, 'url, 'title, 'tags>

impl<'search, 'url, 'title, 'tags> Unpin for AutocompleteMatch<'search, 'url, 'title, 'tags>

impl<'search, 'url, 'title, 'tags> UnwindSafe for AutocompleteMatch<'search, 'url, 'title, 'tags>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,