pub struct PgoWorkflow {
pub phase: PgoPhase,
pub input_profile: Option<String>,
pub output_profile: Option<String>,
pub optimization_level: u8,
}Fields§
§phase: PgoPhase§input_profile: Option<String>§output_profile: Option<String>§optimization_level: u8Implementations§
Source§impl PgoWorkflow
impl PgoWorkflow
pub fn new_instrumentation() -> Self
pub fn new_optimization(profile: impl Into<String>) -> Self
pub fn emit_flags(&self) -> Vec<String>
Trait Implementations§
Source§impl Clone for PgoWorkflow
impl Clone for PgoWorkflow
Source§fn clone(&self) -> PgoWorkflow
fn clone(&self) -> PgoWorkflow
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 PgoWorkflow
impl RefUnwindSafe for PgoWorkflow
impl Send for PgoWorkflow
impl Sync for PgoWorkflow
impl Unpin for PgoWorkflow
impl UnsafeUnpin for PgoWorkflow
impl UnwindSafe for PgoWorkflow
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