pub enum DisplayItem<P = u32, O = Operand> {
Bytes(P),
National(P),
Digits {
place: P,
digits: u32,
signed: bool,
},
Refused {
place: P,
abend: u32,
},
Text(u32),
Value(O),
}Variants§
Bytes(P)
Groups, alphanumeric, zoned and edited items, and national items written elsewhere than the
console: the storage in the program’s code page. A COMP-1 or COMP-2 item: its value in
external floating point (display::float).
National(P)
A national item UPON CONSOLE: converted to the program’s code page.
Digits
Packed and binary items: the value’s last digits digits, which for COMP-5 or TRUNC(BIN)
are as many as the item’s halfword, fullword or doubleword holds.
Refused
Pointer, index and object-reference items: the place, then the abend.
Text(u32)
A literal or figurative constant as DISPLAY shows it; a numeric literal as written, its decimal point the program’s.
Value(O)
FUNCTION, LENGTH OF or ADDRESS OF, by the value’s kind, a national value unconverted; UPON CONSOLE a national function’s value is DISPLAY-OF’s.
Trait Implementations§
Source§impl<P, O> Clone for DisplayItem<P, O>
impl<P, O> Clone for DisplayItem<P, O>
Source§fn clone(&self) -> DisplayItem<P, O>
fn clone(&self) -> DisplayItem<P, O>
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more