pub struct UnionPlan {
pub variants: Vec<VariantPlan>,
}Expand description
Read plan for a union<…>: how to load each variant and where its payload
sits within the union block (in the writer’s layout). The u32 tag selects
the variant.
Fields§
§variants: Vec<VariantPlan>Trait Implementations§
Auto Trait Implementations§
impl Freeze for UnionPlan
impl RefUnwindSafe for UnionPlan
impl Send for UnionPlan
impl Sync for UnionPlan
impl Unpin for UnionPlan
impl UnsafeUnpin for UnionPlan
impl UnwindSafe for UnionPlan
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