Enum feature_check::defs::CalcResult
source · [−]Expand description
The result of evaluating either a single term or the whole expression.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Null
No value, e.g. the queried feature is not present.
Bool(bool)
A boolean value, usually for the whole expression.
Version(Version)
A feature’s obtained version.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CalcResult
impl Send for CalcResult
impl Sync for CalcResult
impl Unpin for CalcResult
impl UnwindSafe for CalcResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more