#[non_exhaustive]pub enum CompileEnvironmentBoundaryKind {
DynamicRequire,
DynamicPragmaArgs,
DynamicIncRoot,
PhaseBlockExecution,
SymbolicReferenceDeref,
}Expand description
Dynamic compile-environment boundary category.
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.
DynamicRequire
require target could not be determined statically.
DynamicPragmaArgs
Pragma or feature arguments could not be determined statically.
DynamicIncRoot
Include-root effect is dynamic or unsupported.
PhaseBlockExecution
Phase block contains compile-time execution that is not evaluated here.
SymbolicReferenceDeref
Symbolic-reference dereference is possible while strict refs is disabled.
Trait Implementations§
Source§impl Clone for CompileEnvironmentBoundaryKind
impl Clone for CompileEnvironmentBoundaryKind
Source§fn clone(&self) -> CompileEnvironmentBoundaryKind
fn clone(&self) -> CompileEnvironmentBoundaryKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl PartialEq for CompileEnvironmentBoundaryKind
impl PartialEq for CompileEnvironmentBoundaryKind
Source§fn eq(&self, other: &CompileEnvironmentBoundaryKind) -> bool
fn eq(&self, other: &CompileEnvironmentBoundaryKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CompileEnvironmentBoundaryKind
impl Eq for CompileEnvironmentBoundaryKind
impl StructuralPartialEq for CompileEnvironmentBoundaryKind
Auto Trait Implementations§
impl Freeze for CompileEnvironmentBoundaryKind
impl RefUnwindSafe for CompileEnvironmentBoundaryKind
impl Send for CompileEnvironmentBoundaryKind
impl Sync for CompileEnvironmentBoundaryKind
impl Unpin for CompileEnvironmentBoundaryKind
impl UnsafeUnpin for CompileEnvironmentBoundaryKind
impl UnwindSafe for CompileEnvironmentBoundaryKind
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