pub enum Usage {
Show 14 variants
Display,
Binary,
NativeBinary,
BinaryChar {
signed: bool,
},
CompX,
Packed,
Float1,
Float2,
National,
Dbcs,
Pointer,
Index,
ObjectReference,
ProgramPointer,
}Variants§
Display
Binary
NativeBinary
COMP-5: binary, never truncated to the PICTURE.
BinaryChar
GnuCOBOL’s and Micro Focus’s BINARY-CHAR [SIGNED|UNSIGNED]: one byte of binary, no PICTURE.
CompX
Micro Focus’s COMP-X: binary in the fewest bytes that hold the PICTURE’s digits, or n bytes for PIC X(n).
Packed
Float1
Float2
National
Dbcs
DISPLAY-1: DBCS characters, two bytes each.
Pointer
Index
ObjectReference
ProgramPointer
FUNCTION-POINTER or PROCEDURE-POINTER.
Trait Implementations§
impl Copy for Usage
impl Eq for Usage
impl StructuralPartialEq for Usage
Auto Trait Implementations§
impl Freeze for Usage
impl RefUnwindSafe for Usage
impl Send for Usage
impl Sync for Usage
impl Unpin for Usage
impl UnsafeUnpin for Usage
impl UnwindSafe for Usage
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