pub struct ActiveRepoRoot {
pub config: RepoRootConfig,
pub path: PathBuf,
/* private fields */
}Expand description
An active repo root with its loaded BM25 index.
Fields§
§config: RepoRootConfig§path: PathBufImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for ActiveRepoRoot
impl Freeze for ActiveRepoRootwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<CodeChunk>: Freeze,
PhantomData<(String, Vec<(usize, f64)>)>: Freeze,
PhantomData<(String, usize)>: Freeze,
PhantomData<(String, IndexedFileState)>: Freeze,
PhantomData<(String, u64)>: Freeze,
*const ArcInner<ChunkOrigins> is !null: Freeze,
PhantomData<ArcInner<ChunkOrigins>>: Freeze,
impl Move for ActiveRepoRoot
impl RefUnwindSafe for ActiveRepoRoot
impl Send for ActiveRepoRoot
impl Sync for ActiveRepoRoot
impl Unpin for ActiveRepoRoot
impl UnsafeUnpin for ActiveRepoRootwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<CodeChunk>: UnsafeUnpin,
PhantomData<(String, Vec<(usize, f64)>)>: UnsafeUnpin,
PhantomData<(String, usize)>: UnsafeUnpin,
PhantomData<(String, IndexedFileState)>: UnsafeUnpin,
PhantomData<(String, u64)>: UnsafeUnpin,
*const ArcInner<ChunkOrigins> is !null: UnsafeUnpin,
PhantomData<ArcInner<ChunkOrigins>>: UnsafeUnpin,
impl UnwindSafe for ActiveRepoRootwhere
RawVecInner: UnwindSafe,
HashMap<String, Vec<(usize, f64)>>: UnwindSafe,
HashMap<String, usize>: UnwindSafe,
HashMap<String, IndexedFileState>: UnwindSafe,
HashMap<String, u64>: UnwindSafe,
Arc<ChunkOrigins>: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more