pub struct AfterFunctionLikeAnalysisEvent<'a> {
pub name: &'a str,
pub class: Option<&'a str>,
pub params: &'a [FunctionLikeParamInfo],
pub span: Span,
pub snippet: Option<&'a str>,
pub file: &'a str,
pub issues: Vec<PluginIssue>,
}Expand description
Counterpart of Psalm’s AfterFunctionLikeAnalysisEvent, for named
functions and methods.
Fields§
§name: &'a strFunction or method name as declared.
class: Option<&'a str>Declaring class FQCN for methods.
params: &'a [FunctionLikeParamInfo]§span: SpanSpan of the whole declaration.
snippet: Option<&'a str>Source text of the whole declaration.
file: &'a str§issues: Vec<PluginIssue>Auto Trait Implementations§
impl<'a> Freeze for AfterFunctionLikeAnalysisEvent<'a>
impl<'a> RefUnwindSafe for AfterFunctionLikeAnalysisEvent<'a>
impl<'a> Send for AfterFunctionLikeAnalysisEvent<'a>
impl<'a> Sync for AfterFunctionLikeAnalysisEvent<'a>
impl<'a> Unpin for AfterFunctionLikeAnalysisEvent<'a>
impl<'a> UnsafeUnpin for AfterFunctionLikeAnalysisEvent<'a>
impl<'a> UnwindSafe for AfterFunctionLikeAnalysisEvent<'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