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: the storage in the program’s code page.
National(P)
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
Floating-point, 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.
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>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<P, O> Copy for DisplayItem<P, O>
Source§impl<P, O> Debug for DisplayItem<P, O>
impl<P, O> Debug for DisplayItem<P, O>
Source§impl Decode for DisplayItem
impl Decode for DisplayItem
fn decode(r: &mut Reader<'_>) -> Result<DisplayItem, ModuleError>
impl<P, O> Eq for DisplayItem<P, O>
Source§impl<P, O> PartialEq for DisplayItem<P, O>
impl<P, O> PartialEq for DisplayItem<P, O>
impl<P, O> StructuralPartialEq for DisplayItem<P, O>
Auto Trait Implementations§
impl<P, O> Freeze for DisplayItem<P, O>
impl<P, O> RefUnwindSafe for DisplayItem<P, O>where
P: RefUnwindSafe,
O: RefUnwindSafe,
impl<P, O> Send for DisplayItem<P, O>
impl<P, O> Sync for DisplayItem<P, O>
impl<P, O> Unpin for DisplayItem<P, O>
impl<P, O> UnsafeUnpin for DisplayItem<P, O>where
P: UnsafeUnpin,
O: UnsafeUnpin,
impl<P, O> UnwindSafe for DisplayItem<P, O>where
P: UnwindSafe,
O: UnwindSafe,
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