pub struct TextIndexBuilder { /* private fields */ }Expand description
Accumulates token → subjects and serializes the section.
Implementations§
Source§impl TextIndexBuilder
impl TextIndexBuilder
Sourcepub fn new() -> TextIndexBuilder
pub fn new() -> TextIndexBuilder
A builder for the default scope (default graph, every predicate).
Sourcepub fn with_scope(scope: TextIndexScope) -> TextIndexBuilder
pub fn with_scope(scope: TextIndexScope) -> TextIndexBuilder
A builder whose section records scope (the caller decides which
literals to feed it; this only writes the scope block).
Trait Implementations§
Source§impl Default for TextIndexBuilder
impl Default for TextIndexBuilder
Source§fn default() -> TextIndexBuilder
fn default() -> TextIndexBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TextIndexBuilder
impl RefUnwindSafe for TextIndexBuilder
impl Send for TextIndexBuilder
impl Sync for TextIndexBuilder
impl Unpin for TextIndexBuilder
impl UnsafeUnpin for TextIndexBuilder
impl UnwindSafe for TextIndexBuilder
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