pub(crate) enum EnumResolvedField {
Single(Box<EnumSingleFieldData>),
ExpandedFixed(Box<EnumExpandedFixedData>),
ExpandedVec(Box<EnumExpandedVecData>),
AutoExpandVec(Box<EnumAutoExpandVecData>),
Map(Box<EnumMapFieldData>),
Struct(Box<EnumStructFieldData>),
}Expand description
A resolved enum field ready for codegen – either a single column or expanded from an array/Vec into multiple suffixed columns.
This is the enum-path counterpart of ResolvedField (used for structs).
Each variant carries both the binding name (for destructure patterns) and the
original Rust field name (for error reporting and named-variant patterns).
Variants§
Single(Box<EnumSingleFieldData>)
Single column contribution.
ExpandedFixed(Box<EnumExpandedFixedData>)
Expanded from [T; N].
ExpandedVec(Box<EnumExpandedVecData>)
Expanded from Vec
AutoExpandVec(Box<EnumAutoExpandVecData>)
Auto-expanded Vec
Map(Box<EnumMapFieldData>)
HashMap<K,V> or BTreeMap<K,V> → two parallel list-columns: <field>_keys, <field>_values.
Struct(Box<EnumStructFieldData>)
Struct field whose inner type implements DataFrameRow → flattened <base>_<inner_col> columns.
Implementations§
Auto Trait Implementations§
impl Freeze for EnumResolvedField
impl RefUnwindSafe for EnumResolvedField
impl !Send for EnumResolvedField
impl !Sync for EnumResolvedField
impl Unpin for EnumResolvedField
impl UnsafeUnpin for EnumResolvedField
impl UnwindSafe for EnumResolvedField
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
Source§impl<T> SizedTypeProperties for T
impl<T> SizedTypeProperties for T
Source§#[doc(hidden)]const SIZE: usize = _
#[doc(hidden)]const SIZE: usize = _
sized_type_properties)Source§#[doc(hidden)]const ALIGN: usize = _
#[doc(hidden)]const ALIGN: usize = _
sized_type_properties)Source§#[doc(hidden)]const ALIGNMENT: Alignment = _
#[doc(hidden)]const ALIGNMENT: Alignment = _
ptr_alignment_type)Source§#[doc(hidden)]const IS_ZST: bool = _
#[doc(hidden)]const IS_ZST: bool = _
sized_type_properties)Source§#[doc(hidden)]const LAYOUT: Layout = _
#[doc(hidden)]const LAYOUT: Layout = _
sized_type_properties)Source§#[doc(hidden)]const MAX_SLICE_LEN: usize = _
#[doc(hidden)]const MAX_SLICE_LEN: usize = _
sized_type_properties)[Self]. Read moreLayout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 16 bytes
Size for each variant:
Single: 8 bytesExpandedFixed: 8 bytesExpandedVec: 8 bytesAutoExpandVec: 8 bytesMap: 8 bytesStruct: 8 bytes