pub(super) trait RecoverQPath: Sized + 'static {
const PATH_STYLE: PathStyle = PathStyle::Expr;
// Required methods
fn to_ty(&self) -> Option<P<Ty>>;
fn recovered(qself: Option<P<QSelf>>, path: Path) -> Self;
}
Provided Associated Constants§
const PATH_STYLE: PathStyle = PathStyle::Expr
Required Methods§
fn to_ty(&self) -> Option<P<Ty>>
fn recovered(qself: Option<P<QSelf>>, path: Path) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.