pub struct UnionStmt<'ir> {
pub name: Ident<'ir>,
pub variants: Vec<IRTypedIdent<'ir>>,
}Fields§
§name: Ident<'ir>§variants: Vec<IRTypedIdent<'ir>>Trait Implementations§
impl<'ir> StructuralPartialEq for UnionStmt<'ir>
Auto Trait Implementations§
impl<'ir> Freeze for UnionStmt<'ir>
impl<'ir> RefUnwindSafe for UnionStmt<'ir>
impl<'ir> Send for UnionStmt<'ir>
impl<'ir> Sync for UnionStmt<'ir>
impl<'ir> Unpin for UnionStmt<'ir>
impl<'ir> UnwindSafe for UnionStmt<'ir>
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