[−][src]Struct basic::mach::Link
Methods
impl Link
[src]
pub fn append(&mut self, link: Link) -> Result<(), Error>
[src]
pub fn push(&mut self, op: Opcode) -> Result<(), Error>
[src]
pub fn transform_to_data(&mut self, col: &Column) -> Result<(), Error>
[src]
pub fn read_data(&mut self) -> Result<Val, Error>
[src]
pub fn restore_data(&mut self, addr: Address)
[src]
pub fn get(&self, addr: Address) -> Option<&Opcode>
[src]
pub fn last(&self) -> Option<&Opcode>
[src]
pub fn drain<R>(&mut self, range: R) -> Drain<Opcode> where
R: RangeBounds<usize>,
[src]
R: RangeBounds<usize>,
pub fn is_empty(&self) -> bool
[src]
pub fn len(&self) -> usize
[src]
pub fn clear(&mut self)
[src]
pub fn next_symbol(&mut self) -> Symbol
[src]
pub fn push_def_fn(
&mut self,
col: Column,
ident: Rc<str>,
vars: Vec<Rc<str>>,
expr_ops: Link
) -> Result<(), Error>
[src]
&mut self,
col: Column,
ident: Rc<str>,
vars: Vec<Rc<str>>,
expr_ops: Link
) -> Result<(), Error>
pub fn push_for(&mut self, col: Column) -> Result<(), Error>
[src]
pub fn push_gosub(
&mut self,
col: Column,
line_number: LineNumber
) -> Result<(), Error>
[src]
&mut self,
col: Column,
line_number: LineNumber
) -> Result<(), Error>
pub fn push_return_val(
&mut self,
col: Column,
symbol: Symbol
) -> Result<(), Error>
[src]
&mut self,
col: Column,
symbol: Symbol
) -> Result<(), Error>
pub fn push_goto(
&mut self,
col: Column,
line_number: LineNumber
) -> Result<(), Error>
[src]
&mut self,
col: Column,
line_number: LineNumber
) -> Result<(), Error>
pub fn push_ifnot(&mut self, col: Column, sym: Symbol) -> Result<(), Error>
[src]
pub fn push_jump(&mut self, col: Column, sym: Symbol) -> Result<(), Error>
[src]
pub fn push_restore(
&mut self,
col: Column,
line_number: LineNumber
) -> Result<(), Error>
[src]
&mut self,
col: Column,
line_number: LineNumber
) -> Result<(), Error>
pub fn push_run(
&mut self,
col: Column,
line_number: LineNumber
) -> Result<(), Error>
[src]
&mut self,
col: Column,
line_number: LineNumber
) -> Result<(), Error>
pub fn push_symbol(&mut self, sym: Symbol)
[src]
pub fn push_wend(&mut self, col: Column) -> Result<(), Error>
[src]
pub fn push_while(&mut self, col: Column, expr: Link) -> Result<(), Error>
[src]
pub fn set_start_of_direct(&mut self, op_addr: Address)
[src]
pub fn line_number_for(&self, op_addr: Address) -> LineNumber
[src]
pub fn link(&mut self) -> Vec<Error>
[src]
Trait Implementations
impl Clone for Link
[src]
impl Debug for Link
[src]
impl Default for Link
[src]
impl<'_> TryFrom<&'_ Link> for LineNumber
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(prog: &Link) -> Result<Self, Self::Error>
[src]
impl<'_> TryFrom<&'_ Link> for Rc<str>
[src]
Auto Trait Implementations
impl !RefUnwindSafe for Link
impl !Send for Link
impl !Sync for Link
impl Unpin for Link
impl UnwindSafe for Link
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,