Skip to main content

IntoTextIndex

Trait IntoTextIndex 

Source
pub trait IntoTextIndex {
    // Required method
    fn into_text_index(self) -> Option<TextIndexScope>;
}
Expand description

What a build’s with_text_index argument may be: false / true (no index / the default scope — the spelling every caller used before scopes), a TextIndexScope, or an Option of one.

Required Methods§

Source

fn into_text_index(self) -> Option<TextIndexScope>

None = build no text index.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl IntoTextIndex for &Option<TextIndexScope>

Source§

impl IntoTextIndex for Option<TextIndexScope>

Source§

impl IntoTextIndex for bool

Implementors§