pub struct SemanticMatcher;Expand description
Matches patterns based on semantic meaning of names and types.
Implementations§
Source§impl SemanticMatcher
impl SemanticMatcher
pub fn new() -> Self
pub fn find_matches( &self, signature: &FunctionSignature, patterns: &[&Pattern], _context: &MatchContext, limit: usize, ) -> EvolveResult<Vec<MatchResult>>
Trait Implementations§
Source§impl Debug for SemanticMatcher
impl Debug for SemanticMatcher
Source§impl Default for SemanticMatcher
impl Default for SemanticMatcher
Source§fn default() -> SemanticMatcher
fn default() -> SemanticMatcher
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SemanticMatcher
impl RefUnwindSafe for SemanticMatcher
impl Send for SemanticMatcher
impl Sync for SemanticMatcher
impl Unpin for SemanticMatcher
impl UnsafeUnpin for SemanticMatcher
impl UnwindSafe for SemanticMatcher
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