pub enum SuggestionsVariant {
Chips,
Rows,
Cards,
Other(String),
}Expand description
A suggestions’s look.
Variants§
Chips
Wrapping pills (the default).
Rows
Full-width rows with keycaps.
Cards
Two columns of cards.
Other(String)
A value this SDK doesn’t name.
Implementations§
Trait Implementations§
Source§impl Clone for SuggestionsVariant
impl Clone for SuggestionsVariant
Source§impl Debug for SuggestionsVariant
impl Debug for SuggestionsVariant
Source§impl Display for SuggestionsVariant
impl Display for SuggestionsVariant
impl Eq for SuggestionsVariant
Source§impl From<&str> for SuggestionsVariant
impl From<&str> for SuggestionsVariant
Source§impl From<String> for SuggestionsVariant
impl From<String> for SuggestionsVariant
Source§impl Hash for SuggestionsVariant
impl Hash for SuggestionsVariant
Source§impl PartialEq for SuggestionsVariant
impl PartialEq for SuggestionsVariant
Source§impl Serialize for SuggestionsVariant
impl Serialize for SuggestionsVariant
impl StructuralPartialEq for SuggestionsVariant
Auto Trait Implementations§
impl Freeze for SuggestionsVariant
impl RefUnwindSafe for SuggestionsVariant
impl Send for SuggestionsVariant
impl Sync for SuggestionsVariant
impl Unpin for SuggestionsVariant
impl UnsafeUnpin for SuggestionsVariant
impl UnwindSafe for SuggestionsVariant
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
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§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.