pub struct FunctionList<'a> {
pub funcs: &'a [ItemIdLe],
pub counts: &'a [U32<LE>],
}Expand description
Data for S_CALLERS, S_CALLEES, S_INLINEES.
Fields§
§funcs: &'a [ItemIdLe]The list of functions, in the IPI. Each is either LF_FUNC_ID or LF_MFUNC_ID.
counts: &'a [U32<LE>]Counts for each function.
The values in counts parallel the items in funcs, but the length of invocations can be
less than the length of funcs. Unmatched counts are assumed to be zero.
This is empty for S_INLINEES.
Trait Implementations§
Source§impl<'a> Clone for FunctionList<'a>
impl<'a> Clone for FunctionList<'a>
Source§fn clone(&self) -> FunctionList<'a>
fn clone(&self) -> FunctionList<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for FunctionList<'a>
impl<'a> Debug for FunctionList<'a>
Source§impl<'a> Parse<'a> for FunctionList<'a>
impl<'a> Parse<'a> for FunctionList<'a>
Source§fn from_parser(p: &mut Parser<'a>) -> Result<Self, ParserError>
fn from_parser(p: &mut Parser<'a>) -> Result<Self, ParserError>
Parses an instance of
Self from a Parser.
This allows the caller to detect which bytes were not consumed at the end of the input.Auto Trait Implementations§
impl<'a> Freeze for FunctionList<'a>
impl<'a> RefUnwindSafe for FunctionList<'a>
impl<'a> Send for FunctionList<'a>
impl<'a> Sync for FunctionList<'a>
impl<'a> Unpin for FunctionList<'a>
impl<'a> UnwindSafe for FunctionList<'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