pub enum Desugared {}Expand description
Post-desugar phase: surface-sugar variants are statically impossible.
Produced by crate::desugar. Unresolved identifier paths are still
representable; HIR lowering resolves them. This is the final syntax-AST
phase — every downstream consumer reads HIR, not a further AST phase.
Trait Implementations§
impl Copy for Desugared
impl Eq for Desugared
Source§impl Phase for Desugared
impl Phase for Desugared
Source§type DeclSugar = Infallible
type DeclSugar = Infallible
Phase-specific declaration sugar variants. Read more
Source§type ExprSugar = Infallible
type ExprSugar = Infallible
Phase-specific expression sugar variants. Read more
impl StructuralPartialEq for Desugared
Auto Trait Implementations§
impl Freeze for Desugared
impl RefUnwindSafe for Desugared
impl Send for Desugared
impl Sync for Desugared
impl Unpin for Desugared
impl UnsafeUnpin for Desugared
impl UnwindSafe for Desugared
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.