pub enum FieldKind {
Alphanumeric,
Numeric {
scale: usize,
signed: bool,
},
Group(Vec<FieldDecl>),
}Expand description
The storage kind of a field, as declared by the copybook.
Variants§
Alphanumeric
PIC X/A – alphanumeric display bytes.
Numeric
PIC 9 – zoned-decimal display digits. scale = implied decimal places; signed if PIC S9.
Group(Vec<FieldDecl>)
A group (01/05 with subordinate items): the child fields, in order. A group’s length is the
sum of its children’s lengths.
Trait Implementations§
impl Eq for FieldKind
impl StructuralPartialEq for FieldKind
Auto Trait Implementations§
impl Freeze for FieldKind
impl RefUnwindSafe for FieldKind
impl Send for FieldKind
impl Sync for FieldKind
impl Unpin for FieldKind
impl UnsafeUnpin for FieldKind
impl UnwindSafe for FieldKind
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