pub struct AfterFunctionCallAnalysisEvent<'a> {
pub function_id: &'a str,
pub args: &'a [Arg],
pub arg_types: &'a [Type],
pub span: Span,
pub file: &'a str,
pub return_type: &'a mut Type,
pub issues: Vec<PluginIssue>,
}Expand description
Counterpart of Psalm’s AfterFunctionCallAnalysisEvent. return_type
starts as the analyzer’s inferred type and may be replaced.
Fields§
§function_id: &'a strLowercased fully-qualified function name without leading \.
args: &'a [Arg]§arg_types: &'a [Type]§span: Span§file: &'a str§return_type: &'a mut Type§issues: Vec<PluginIssue>Auto Trait Implementations§
impl<'a> !UnwindSafe for AfterFunctionCallAnalysisEvent<'a>
impl<'a> Freeze for AfterFunctionCallAnalysisEvent<'a>
impl<'a> RefUnwindSafe for AfterFunctionCallAnalysisEvent<'a>
impl<'a> Send for AfterFunctionCallAnalysisEvent<'a>
impl<'a> Sync for AfterFunctionCallAnalysisEvent<'a>
impl<'a> Unpin for AfterFunctionCallAnalysisEvent<'a>
impl<'a> UnsafeUnpin for AfterFunctionCallAnalysisEvent<'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