Enum guppy::graph::PlatformStatus [−][src]
pub enum PlatformStatus<'g> {
Never,
Always,
PlatformDependent {
eval: PlatformEval<'g>,
},
}
Expand description
The status of a dependency or feature, which is possibly platform-dependent.
This is a sub-status of EnabledStatus
.
Variants
This dependency or feature is never enabled on any platforms.
This dependency or feature is always enabled on all platforms.
The status is platform-dependent.
Fields of PlatformDependent
eval: PlatformEval<'g>
An evaluator to run queries against.
Implementations
Returns true if this dependency is always enabled on all platforms.
Returns true if this dependency is never enabled on any platform.
Returns true if this dependency is possibly enabled on any platform.
Evaluates whether this dependency is enabled on the given platform.
Trait Implementations
Auto Trait Implementations
impl<'g> RefUnwindSafe for PlatformStatus<'g>
impl<'g> Send for PlatformStatus<'g>
impl<'g> Sync for PlatformStatus<'g>
impl<'g> Unpin for PlatformStatus<'g>
impl<'g> UnwindSafe for PlatformStatus<'g>
Blanket Implementations
Mutably borrows from an owned value. Read more
Given ptr
, which was obtained from a prior call to Self::borrow()
,
return a value with the same nominal lifetime which is guaranteed to
survive mutations to Self
. Read more