pub enum GateSite {
ParseOption(ParseOption),
AstDetector(DetectorKind),
NameAdmission,
ProcedureDispatch,
Namespace,
}Expand description
Where in the pipeline a preview feature’s gate is checked, for the sites whose consumers a test can read. A feature gated somewhere else (statement validation, run-time evaluation, the executor’s graph-type layer) declares no site.
Variants§
ParseOption(ParseOption)
The lexer or parser decides it, through this parse option.
AstDetector(DetectorKind)
The front’s AST detector loop rejects the feature’s syntax.
NameAdmission
A function name is admitted or hidden by the function registry.
ProcedureDispatch
Procedure dispatch gates a built-in procedure family.
Namespace
The namespace registry hides a fixed namespace.
Trait Implementations§
impl Copy for GateSite
impl Eq for GateSite
impl StructuralPartialEq for GateSite
Auto Trait Implementations§
impl Forget for GateSite
impl Freeze for GateSite
impl Move for GateSite
impl RefUnwindSafe for GateSite
impl Send for GateSite
impl Sync for GateSite
impl Unpin for GateSite
impl UnsafeUnpin for GateSite
impl UnwindSafe for GateSite
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.