pub struct CommandInfo<'a> {
pub library: u16,
pub number: u16,
pub name: Option<&'a str>,
pub arity: Option<u8>,
pub silent: bool,
pub syntax: Option<Syntax>,
}Expand description
A command as the name table knows it.
Fields§
§library: u16Library number.
number: u16Command number in the library.
name: Option<&'a str>Its name, if the library’s hash table has one.
arity: Option<u8>Its argument count, if it starts with an argument dispatcher (CK0-CK5).
silent: boolAn unnamed command of the structure library (the one holding «),
such as the word that quotes a program inside a program: the ROM’s
decompiler shows nothing for it.
syntax: Option<Syntax>What the command marks in the 49G’s algebraic-mode syntax, for the
two unnamed structure words that carry it (Syntax).
Trait Implementations§
Source§impl<'a> Clone for CommandInfo<'a>
impl<'a> Clone for CommandInfo<'a>
impl<'a> Copy for CommandInfo<'a>
Source§impl<'a> Debug for CommandInfo<'a>
impl<'a> Debug for CommandInfo<'a>
impl<'a> Eq for CommandInfo<'a>
Source§impl<'a> PartialEq for CommandInfo<'a>
impl<'a> PartialEq for CommandInfo<'a>
impl<'a> StructuralPartialEq for CommandInfo<'a>
Auto Trait Implementations§
impl<'a> Forget for CommandInfo<'a>
impl<'a> Freeze for CommandInfo<'a>
impl<'a> RefUnwindSafe for CommandInfo<'a>
impl<'a> Send for CommandInfo<'a>
impl<'a> Sync for CommandInfo<'a>
impl<'a> Unpin for CommandInfo<'a>
impl<'a> UnsafeUnpin for CommandInfo<'a>
impl<'a> UnwindSafe for CommandInfo<'a>
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