pub struct FunctionNode {
pub name: String,
pub file_path: PathBuf,
pub params: Vec<String>,
pub start_line: usize,
pub end_line: usize,
pub location: SourceLocation,
pub sinks: Vec<TaintSink>,
}Expand description
A representation of a function definition in the project.
Fields§
§name: String§file_path: PathBuf§params: Vec<String>§start_line: usize§end_line: usize§location: SourceLocation§sinks: Vec<TaintSink>Trait Implementations§
Source§impl Clone for FunctionNode
impl Clone for FunctionNode
Source§fn clone(&self) -> FunctionNode
fn clone(&self) -> FunctionNode
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 moreAuto Trait Implementations§
impl Freeze for FunctionNode
impl RefUnwindSafe for FunctionNode
impl Send for FunctionNode
impl Sync for FunctionNode
impl Unpin for FunctionNode
impl UnsafeUnpin for FunctionNode
impl UnwindSafe for FunctionNode
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