Struct guppy::platform::PlatformEval
source · pub struct PlatformEval<'g> { /* private fields */ }
Expand description
An evaluator for platform-specific dependencies.
This represents a collection of platform specifications, of the sort cfg(unix)
.
Implementations§
source§impl<'g> PlatformEval<'g>
impl<'g> PlatformEval<'g>
sourcepub fn eval(&self, platform: &Platform) -> EnabledTernary
pub fn eval(&self, platform: &Platform) -> EnabledTernary
Runs this evaluator against the given platform.
Trait Implementations§
source§impl<'g> Clone for PlatformEval<'g>
impl<'g> Clone for PlatformEval<'g>
source§fn clone(&self) -> PlatformEval<'g>
fn clone(&self) -> PlatformEval<'g>
Returns a copy 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 more