pub struct DirectoryEntry {
pub id: String,
pub external: Option<String>,
pub parent: Option<u32>,
pub common: bool,
pub entries: Vec<(String, u32)>,
pub params: Vec<bool>,
pub returning: bool,
pub dynamic: bool,
}Expand description
A program’s line in the DIRECTORY section (load-module.md §6).
Fields§
§id: StringPROGRAM-ID exactly as written.
external: Option<String>A user-defined function’s external name, which an invocation loads it by; None for a
program, which a CALL loads by id.
parent: Option<u32>The ordinal of the containing program.
common: bool§entries: Vec<(String, u32)>ENTRY names and the paragraphs they enter.
params: Vec<bool>USING: true for BY VALUE, in order.
returning: bool§dynamic: boolVisible to a dynamic CALL.
Implementations§
Trait Implementations§
Source§impl Clone for DirectoryEntry
impl Clone for DirectoryEntry
Source§fn clone(&self) -> DirectoryEntry
fn clone(&self) -> DirectoryEntry
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 moreSource§impl Debug for DirectoryEntry
impl Debug for DirectoryEntry
Source§impl Decode for DirectoryEntry
impl Decode for DirectoryEntry
fn decode(r: &mut Reader<'_>) -> Result<DirectoryEntry, ModuleError>
impl Eq for DirectoryEntry
Source§impl PartialEq for DirectoryEntry
impl PartialEq for DirectoryEntry
impl StructuralPartialEq for DirectoryEntry
Auto Trait Implementations§
impl Freeze for DirectoryEntry
impl RefUnwindSafe for DirectoryEntry
impl Send for DirectoryEntry
impl Sync for DirectoryEntry
impl Unpin for DirectoryEntry
impl UnsafeUnpin for DirectoryEntry
impl UnwindSafe for DirectoryEntry
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