pub struct PartialInlineDecision {
pub callee: String,
pub region: PartialInlineRegion,
pub estimated_savings: i32,
pub reason: String,
}Expand description
Decision record for partial inlining of a function.
Fields§
§callee: String§region: PartialInlineRegion§estimated_savings: i32§reason: StringImplementations§
Trait Implementations§
Source§impl Clone for PartialInlineDecision
impl Clone for PartialInlineDecision
Source§fn clone(&self) -> PartialInlineDecision
fn clone(&self) -> PartialInlineDecision
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 PartialInlineDecision
impl RefUnwindSafe for PartialInlineDecision
impl Send for PartialInlineDecision
impl Sync for PartialInlineDecision
impl Unpin for PartialInlineDecision
impl UnsafeUnpin for PartialInlineDecision
impl UnwindSafe for PartialInlineDecision
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