pub struct TxtPos<'a> {
pub txt_li: Vec<&'a str>,
pub pos_li: RoaringTreemap,
}Fields§
§txt_li: Vec<&'a str>§pos_li: RoaringTreemapImplementations§
Source§impl<'a> TxtPos<'a>
impl<'a> TxtPos<'a>
pub fn with_capacity(capacity: usize) -> Self
Available on crate feature
mut only.pub fn push(&mut self, txt: &'a str)
Available on crate feature
mut only.pub fn push_pos(&mut self, txt: &'a str)
Available on crate feature
mut only.pub fn push_txt(&mut self, txt: &'a str)
Available on crate feature
mut only.pub fn push_txt_line(&mut self, txt: &'a str)
Available on crate feature
mut only.Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for TxtPos<'a>
impl<'a> RefUnwindSafe for TxtPos<'a>
impl<'a> Send for TxtPos<'a>
impl<'a> Sync for TxtPos<'a>
impl<'a> Unpin for TxtPos<'a>
impl<'a> UnwindSafe for TxtPos<'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