pub struct TextAssistController { /* private fields */ }Implementations§
Source§impl TextAssistController
impl TextAssistController
pub fn new(mode: TextAssistMatchMode) -> TextAssistController
pub fn mode(&self) -> TextAssistMatchMode
pub fn visible(&self) -> &[TextAssistMatch]
pub fn active_item_id(&self) -> Option<&Arc<str>>
pub fn active_match(&self) -> Option<&TextAssistMatch>
pub fn rebuild(&mut self, items: &[TextAssistItem], query: &str)
pub fn set_active_item_id(&mut self, item_id: Option<impl Into<Arc<str>>>)
pub fn move_active(&mut self, movement: TextAssistMove)
Trait Implementations§
Source§impl Clone for TextAssistController
impl Clone for TextAssistController
Source§fn clone(&self) -> TextAssistController
fn clone(&self) -> TextAssistController
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 moreSource§impl Debug for TextAssistController
impl Debug for TextAssistController
Source§impl Default for TextAssistController
impl Default for TextAssistController
Source§fn default() -> TextAssistController
fn default() -> TextAssistController
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TextAssistController
impl RefUnwindSafe for TextAssistController
impl Send for TextAssistController
impl Sync for TextAssistController
impl Unpin for TextAssistController
impl UnsafeUnpin for TextAssistController
impl UnwindSafe for TextAssistController
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