pub struct PropellerProfile {
pub binary_id: String,
pub hot_functions: Vec<PropellerFunctionInfo>,
pub cfg_edges: Vec<PropellerEdge>,
}Fields§
§binary_id: String§hot_functions: Vec<PropellerFunctionInfo>§cfg_edges: Vec<PropellerEdge>Implementations§
Source§impl PropellerProfile
impl PropellerProfile
pub fn new(binary_id: impl Into<String>) -> Self
pub fn add_function(&mut self, func: PropellerFunctionInfo)
pub fn add_edge(&mut self, edge: PropellerEdge)
pub fn total_edge_weight(&self) -> u64
pub fn emit_protobuf_format(&self) -> String
Trait Implementations§
Source§impl Clone for PropellerProfile
impl Clone for PropellerProfile
Source§fn clone(&self) -> PropellerProfile
fn clone(&self) -> PropellerProfile
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 moreAuto Trait Implementations§
impl Freeze for PropellerProfile
impl RefUnwindSafe for PropellerProfile
impl Send for PropellerProfile
impl Sync for PropellerProfile
impl Unpin for PropellerProfile
impl UnsafeUnpin for PropellerProfile
impl UnwindSafe for PropellerProfile
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