pub struct Function {
pub name: StringId,
pub system_name: StringId,
pub filename: StringId,
}Expand description
Represents a [pprof::Function] with some space-saving changes:
- The id is not stored on the struct. It’s stored in the container that holds the struct.
- ids for linked objects use 32-bit numbers instead of 64 bit ones.
Fields§
§name: StringId§system_name: StringId§filename: StringIdTrait Implementations§
Source§impl Item for Function
impl Item for Function
Source§type Id = FunctionId
type Id = FunctionId
The Id associated with this Item, e.g. Function -> FunctionId.
Source§impl Ord for Function
impl Ord for Function
Source§impl PartialOrd for Function
impl PartialOrd for Function
impl Copy for Function
impl Eq for Function
impl StructuralPartialEq for Function
Auto Trait Implementations§
impl Freeze for Function
impl RefUnwindSafe for Function
impl Send for Function
impl Sync for Function
impl Unpin for Function
impl UnwindSafe for Function
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.