pub enum Destruct {
Destruct(Range, QualifiedIdent, Vec<CaseBinding>, Option<Range>),
Ident(Ident),
}
Expand description
A destruct of a single constructor. It’s a flat destruct and just translates into a eliminator for records.
Variants§
Destruct(Range, QualifiedIdent, Vec<CaseBinding>, Option<Range>)
Ident(Ident)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Destruct
impl RefUnwindSafe for Destruct
impl Send for Destruct
impl Sync for Destruct
impl Unpin for Destruct
impl UnwindSafe for Destruct
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