pub struct AliasInlineHint {
pub call_site: u32,
pub callee: String,
pub benefit: f64,
pub cost: f64,
}Expand description
Alias analysis inline hint
Fields§
§call_site: u32§callee: String§benefit: f64§cost: f64Implementations§
Source§impl AliasInlineHint
impl AliasInlineHint
pub fn should_inline(&self, threshold: f64) -> bool
Trait Implementations§
Source§impl Clone for AliasInlineHint
impl Clone for AliasInlineHint
Source§fn clone(&self) -> AliasInlineHint
fn clone(&self) -> AliasInlineHint
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 AliasInlineHint
impl RefUnwindSafe for AliasInlineHint
impl Send for AliasInlineHint
impl Sync for AliasInlineHint
impl Unpin for AliasInlineHint
impl UnsafeUnpin for AliasInlineHint
impl UnwindSafe for AliasInlineHint
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