Enum codegen_cfg::ast::Pred
source · #[non_exhaustive]pub enum Pred {
TargetFamily(String),
TargetVendor(String),
TargetArch(String),
TargetOs(String),
TargetEnv(String),
TargetPointerWidth(String),
}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.
TargetFamily(String)
TargetVendor(String)
TargetArch(String)
TargetOs(String)
TargetEnv(String)
TargetPointerWidth(String)
Trait Implementations§
source§impl PartialEq<Pred> for Pred
impl PartialEq<Pred> for Pred
impl Eq for Pred
impl StructuralEq for Pred
impl StructuralPartialEq for Pred
Auto Trait Implementations§
impl RefUnwindSafe for Pred
impl Send for Pred
impl Sync for Pred
impl Unpin for Pred
impl UnwindSafe for Pred
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