pub struct SuggestionsBuilder { /* private fields */ }
Implementations§
Source§impl SuggestionsBuilder
impl SuggestionsBuilder
pub fn input(&self) -> &str
pub fn start(&self) -> usize
pub fn remaining(&self) -> &str
pub fn remaining_lowercase(&self) -> &str
pub fn build(&self) -> Suggestions
pub fn suggest(self, text: &str) -> Self
pub fn suggest_with_tooltip(self, text: &str, tooltip: String) -> Self
pub fn suggest_integer(self, value: i32) -> Self
pub fn suggest_integer_with_tooltip(self, value: i32, tooltip: String) -> Self
pub fn add(self, other: SuggestionsBuilder) -> Self
pub fn create_offset(&self, start: usize) -> SuggestionsBuilder
pub fn restart(&self) -> SuggestionsBuilder
Trait Implementations§
Source§impl Debug for SuggestionsBuilder
impl Debug for SuggestionsBuilder
Source§impl PartialEq for SuggestionsBuilder
impl PartialEq for SuggestionsBuilder
impl StructuralPartialEq for SuggestionsBuilder
Auto Trait Implementations§
impl Freeze for SuggestionsBuilder
impl RefUnwindSafe for SuggestionsBuilder
impl Send for SuggestionsBuilder
impl Sync for SuggestionsBuilder
impl Unpin for SuggestionsBuilder
impl UnwindSafe for SuggestionsBuilder
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