pub struct ProductionInputs {
pub global_flag: Option<Given<bool>>,
pub own_flag: PerAnalysis<Option<Given<bool>>>,
pub global_env: Option<bool>,
pub own_env: PerAnalysis<Option<bool>>,
}Expand description
The production inputs of one run, before the config. The config is a
separate argument of decide_production.
Fields§
§global_flag: Option<Given<bool>>The global value that the caller gives, for example --production.
own_flag: PerAnalysis<Option<Given<bool>>>The value of each analysis that the caller gives, for example
--production-health.
global_env: Option<bool>FALLOW_PRODUCTION, when the host reads it.
own_env: PerAnalysis<Option<bool>>FALLOW_PRODUCTION_<ANALYSIS>, when the host reads it.
Trait Implementations§
Source§impl Clone for ProductionInputs
impl Clone for ProductionInputs
impl Copy for ProductionInputs
Source§impl Debug for ProductionInputs
impl Debug for ProductionInputs
Auto Trait Implementations§
impl Forget for ProductionInputs
impl Freeze for ProductionInputs
impl Move for ProductionInputs
impl RefUnwindSafe for ProductionInputs
impl Send for ProductionInputs
impl Sync for ProductionInputs
impl Unpin for ProductionInputs
impl UnsafeUnpin for ProductionInputs
impl UnwindSafe for ProductionInputs
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more