Struct tantivy_tokenizer_api::BoxTokenStream
source · pub struct BoxTokenStream<'a>(/* private fields */);
Expand description
Simple wrapper of Box<dyn TokenStream + 'a>
.
Implementations§
source§impl<'a> BoxTokenStream<'a>
impl<'a> BoxTokenStream<'a>
pub fn new<T: TokenStream + 'a>(token_stream: T) -> BoxTokenStream<'a>
Trait Implementations§
source§impl<'a> Deref for BoxTokenStream<'a>
impl<'a> Deref for BoxTokenStream<'a>
source§impl<'a> DerefMut for BoxTokenStream<'a>
impl<'a> DerefMut for BoxTokenStream<'a>
source§impl<'a> TokenStream for BoxTokenStream<'a>
impl<'a> TokenStream for BoxTokenStream<'a>
Auto Trait Implementations§
impl<'a> Freeze for BoxTokenStream<'a>
impl<'a> !RefUnwindSafe for BoxTokenStream<'a>
impl<'a> !Send for BoxTokenStream<'a>
impl<'a> !Sync for BoxTokenStream<'a>
impl<'a> Unpin for BoxTokenStream<'a>
impl<'a> !UnwindSafe for BoxTokenStream<'a>
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