pub enum LineKind {
Show 18 variants
Blank,
SegmentBorder,
SegmentType,
SegmentPermissions,
Banner,
Attributes,
Prototype,
Public,
Proc,
Frame,
Label,
Xref,
Preview,
Instruction,
Data,
Separator,
End,
Comment,
}Expand description
What a line is.
Variants§
Blank
An empty line.
SegmentBorder
A section’s border line.
SegmentType
A section’s type (code, data, uninitialised).
SegmentPermissions
A section’s permissions.
Banner
The S U B R O U T I N E banner.
Attributes
A function’s attributes.
Prototype
A function’s prototype.
Public
public name.
Proc
name proc near.
Frame
A frame variable of a function.
Label
A code label.
Xref
A further cross-reference of the item.
Preview
The text a pointer points to.
Instruction
An instruction.
Data
Data (one line of an item).
Separator
The separator after code control does not fall through.
End
name endp.
Comment
A further line of the user’s comment on the item, under its first
content line (Listing::set_comments): rendered as its prefix,
the front end writes the comment’s line after it.
Trait Implementations§
impl Copy for LineKind
impl Eq for LineKind
impl StructuralPartialEq for LineKind
Auto Trait Implementations§
impl Forget for LineKind
impl Freeze for LineKind
impl Move for LineKind
impl RefUnwindSafe for LineKind
impl Send for LineKind
impl Sync for LineKind
impl Unpin for LineKind
impl UnsafeUnpin for LineKind
impl UnwindSafe for LineKind
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