#[non_exhaustive]pub struct MethodRecognition {
pub receiver: TypeScriptReceiverKind,
pub member: &'static str,
pub rule: RuleId,
}Expand description
Receiver-method call shape recognized after a frontend knows the receiver type.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.receiver: TypeScriptReceiverKindReceiver category selected by frontend type lowering.
member: &'static strSource method name.
rule: RuleIdShared rule selected by this receiver/member pair.
Trait Implementations§
Source§impl Clone for MethodRecognition
impl Clone for MethodRecognition
impl Copy for MethodRecognition
Source§impl Debug for MethodRecognition
impl Debug for MethodRecognition
impl Eq for MethodRecognition
Source§impl PartialEq for MethodRecognition
impl PartialEq for MethodRecognition
impl StructuralPartialEq for MethodRecognition
Auto Trait Implementations§
impl Freeze for MethodRecognition
impl RefUnwindSafe for MethodRecognition
impl Send for MethodRecognition
impl Sync for MethodRecognition
impl Unpin for MethodRecognition
impl UnsafeUnpin for MethodRecognition
impl UnwindSafe for MethodRecognition
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