Struct python_comm::textsearcher::TextSearcherManager
source · [−]pub struct TextSearcherManager { /* private fields */ }
Implementations
sourceimpl TextSearcherManager
impl TextSearcherManager
sourcepub fn add_text_searcher(&mut self, tsid: i32, ts: TextSearcher)
pub fn add_text_searcher(&mut self, tsid: i32, ts: TextSearcher)
添加 ts
sourcepub fn get_text_searcher(&mut self, tsid: i32) -> Result<TextSearcher, Error>
pub fn get_text_searcher(&mut self, tsid: i32) -> Result<TextSearcher, Error>
获取 ts
sourcepub fn remove_text_searcher(&mut self, tsid: i32)
pub fn remove_text_searcher(&mut self, tsid: i32)
删除 ts
Auto Trait Implementations
impl RefUnwindSafe for TextSearcherManager
impl Send for TextSearcherManager
impl Sync for TextSearcherManager
impl Unpin for TextSearcherManager
impl UnwindSafe for TextSearcherManager
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more