pub struct MatchedBuiltinFunction {
pub overload: BuiltinFunctionOverload,
pub argument_types: Vec<String>,
pub argument_positions: Vec<usize>,
pub raw_exact_matches: usize,
pub exact_matches: usize,
pub preferred_matches: usize,
}Fields§
§overload: BuiltinFunctionOverload§argument_types: Vec<String>§argument_positions: Vec<usize>§raw_exact_matches: usize§exact_matches: usize§preferred_matches: usizeTrait Implementations§
Source§impl Clone for MatchedBuiltinFunction
impl Clone for MatchedBuiltinFunction
Source§fn clone(&self) -> MatchedBuiltinFunction
fn clone(&self) -> MatchedBuiltinFunction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MatchedBuiltinFunction
impl Debug for MatchedBuiltinFunction
impl Eq for MatchedBuiltinFunction
Source§impl PartialEq for MatchedBuiltinFunction
impl PartialEq for MatchedBuiltinFunction
Source§impl RankedFunctionMatch for MatchedBuiltinFunction
impl RankedFunctionMatch for MatchedBuiltinFunction
fn argument_types(&self) -> &[String]
fn raw_exact_matches(&self) -> usize
fn exact_matches(&self) -> usize
fn preferred_matches(&self) -> usize
fn is_variadic_expansion(&self) -> bool
impl StructuralPartialEq for MatchedBuiltinFunction
Auto Trait Implementations§
impl Freeze for MatchedBuiltinFunction
impl RefUnwindSafe for MatchedBuiltinFunction
impl Send for MatchedBuiltinFunction
impl Sync for MatchedBuiltinFunction
impl Unpin for MatchedBuiltinFunction
impl UnsafeUnpin for MatchedBuiltinFunction
impl UnwindSafe for MatchedBuiltinFunction
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
impl<T> ErasedDestructor for Twhere
T: 'static,
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