pub enum SuggestSource {
DuckDuckGo,
Google,
Bing,
Brave,
Startpage,
Qwant,
Wikipedia,
}Expand description
Autocomplete sources.
Variants§
DuckDuckGo
DuckDuckGo suggestions.
Google suggestions.
Bing
Bing suggestions.
Brave
Brave suggestions.
Startpage
Startpage suggestions.
Qwant
Qwant suggestions.
Wikipedia
Wikipedia suggestions.
Implementations§
Source§impl SuggestSource
impl SuggestSource
Sourcepub const ALL: [SuggestSource; 7]
pub const ALL: [SuggestSource; 7]
All SuggestSource variants, in a stable order.
Sourcepub fn from_name(name: &str) -> Option<SuggestSource>
pub fn from_name(name: &str) -> Option<SuggestSource>
Look up a SuggestSource by its name,
returning None for unknown names.
Trait Implementations§
Source§impl Clone for SuggestSource
impl Clone for SuggestSource
Source§fn clone(&self) -> SuggestSource
fn clone(&self) -> SuggestSource
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 moreimpl Copy for SuggestSource
Source§impl Debug for SuggestSource
impl Debug for SuggestSource
impl Eq for SuggestSource
Source§impl PartialEq for SuggestSource
impl PartialEq for SuggestSource
impl StructuralPartialEq for SuggestSource
Auto Trait Implementations§
impl Freeze for SuggestSource
impl RefUnwindSafe for SuggestSource
impl Send for SuggestSource
impl Sync for SuggestSource
impl Unpin for SuggestSource
impl UnsafeUnpin for SuggestSource
impl UnwindSafe for SuggestSource
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.