pub struct Item {Show 20 fields
pub name: Option<String>,
pub level: u8,
pub parent: Option<usize>,
pub children: Vec<usize>,
pub offset: u32,
pub size: u32,
pub occurs: u32,
pub table: bool,
pub depending_on: Option<Ref>,
pub odo: Option<usize>,
pub index_names: Vec<String>,
pub keys: Vec<(bool, Ref)>,
pub local: bool,
pub kind: Kind,
pub value: Option<Literal>,
pub dims: Vec<(u32, u32)>,
pub redefines: Option<String>,
pub file: Option<u16>,
pub linkage: Option<u16>,
pub pos: Pos,
}Fields§
§name: Option<String>§level: u8§parent: Option<usize>§children: Vec<usize>§offset: u32§size: u32One occurrence.
occurs: u32§table: boolDeclared with OCCURS, so references to it take a subscript.
depending_on: Option<Ref>OCCURS … DEPENDING ON: the item holding the current number of occurrences.
odo: Option<usize>The OCCURS DEPENDING ON table this group ends with, whose current count sets its length.
index_names: Vec<String>A table’s INDEXED BY names, and its ASCENDING/DESCENDING keys.
keys: Vec<(bool, Ref)>§local: boolA LOCAL-STORAGE item: its offset is from the activation’s local storage.
kind: Kind§value: Option<Literal>§dims: Vec<(u32, u32)>Stride and count of each OCCURS on the item and its ancestors, outermost first.
redefines: Option<String>§file: Option<u16>The file whose record area holds the item, for a FILE SECTION record.
linkage: Option<u16>The LINKAGE record the item belongs to, by its position among LINKAGE 01 and 77 items; its offset is from that record’s start, wherever the caller’s argument puts it.
pos: PosTrait Implementations§
Auto Trait Implementations§
impl Freeze for Item
impl RefUnwindSafe for Item
impl Send for Item
impl Sync for Item
impl Unpin for Item
impl UnsafeUnpin for Item
impl UnwindSafe for Item
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