pub struct AutosuggestSelection { /* private fields */ }
Implementations§
Source§impl AutosuggestSelection
impl AutosuggestSelection
pub fn new(raw_input: impl Into<String>, suggestion: &Suggestion) -> Self
pub fn options(self, options: &Autosuggest) -> Self
Trait Implementations§
Source§impl Clone for AutosuggestSelection
impl Clone for AutosuggestSelection
Source§fn clone(&self) -> AutosuggestSelection
fn clone(&self) -> AutosuggestSelection
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for AutosuggestSelection
impl RefUnwindSafe for AutosuggestSelection
impl Send for AutosuggestSelection
impl Sync for AutosuggestSelection
impl Unpin for AutosuggestSelection
impl UnwindSafe for AutosuggestSelection
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