Struct planus_types::ast::Union
source · pub struct Union {
pub metadata: MetadataMap,
pub variants: IndexMap<UnionKey, UnionVariant>,
}Fields§
§metadata: MetadataMap§variants: IndexMap<UnionKey, UnionVariant>Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Union
impl Send for Union
impl Sync for Union
impl Unpin for Union
impl UnwindSafe for Union
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