pub struct PostFilterProcessor<'a> { /* private fields */ }Expand description
後処理フィルタプロセッサ
Implementations§
Source§impl<'a> PostFilterProcessor<'a>
impl<'a> PostFilterProcessor<'a>
Sourcepub fn new(ctx: &'a AnalysisContext) -> Self
pub fn new(ctx: &'a AnalysisContext) -> Self
新しいプロセッサを作成
Sourcepub fn apply(
&self,
results: Vec<DiscoveredSymbol>,
filters: &[PostFilter],
) -> Vec<DiscoveredSymbol>
pub fn apply( &self, results: Vec<DiscoveredSymbol>, filters: &[PostFilter], ) -> Vec<DiscoveredSymbol>
後処理フィルタを適用
DetailStoreを使用してシンボル詳細を取得し、各フィルタを適用する。
Auto Trait Implementations§
impl<'a> Freeze for PostFilterProcessor<'a>
impl<'a> RefUnwindSafe for PostFilterProcessor<'a>
impl<'a> Send for PostFilterProcessor<'a>
impl<'a> Sync for PostFilterProcessor<'a>
impl<'a> Unpin for PostFilterProcessor<'a>
impl<'a> UnsafeUnpin for PostFilterProcessor<'a>
impl<'a> UnwindSafe for PostFilterProcessor<'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
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