pub struct CompositeMatcher { /* private fields */ }Expand description
Combines all matchers with configurable weights.
Implementations§
Source§impl CompositeMatcher
impl CompositeMatcher
pub fn new() -> Self
pub fn with_weights(weights: MatchWeights) -> Self
pub fn find_matches( &self, signature: &FunctionSignature, patterns: &[&Pattern], context: &MatchContext, limit: usize, ) -> EvolveResult<Vec<MatchResult>>
Trait Implementations§
Source§impl Debug for CompositeMatcher
impl Debug for CompositeMatcher
Auto Trait Implementations§
impl Freeze for CompositeMatcher
impl RefUnwindSafe for CompositeMatcher
impl Send for CompositeMatcher
impl Sync for CompositeMatcher
impl Unpin for CompositeMatcher
impl UnsafeUnpin for CompositeMatcher
impl UnwindSafe for CompositeMatcher
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