Skip to main content

Features

Trait Features 

Source
pub trait Features<I>: Copy
where I: Interner,
{ // Required methods fn generic_const_exprs(self) -> bool; fn generic_const_args(self) -> bool; fn coroutine_clone(self) -> bool; fn feature_bound_holds_in_crate( self, symbol: <I as Interner>::Symbol, ) -> bool; }

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<'tcx> Features<TyCtxt<'tcx>> for &'tcx Features

Implementors§