Struct csx64::asm::Predefines[][src]

pub struct Predefines(_);

The symbols to introduce to the assembler prior to parsing any source.

Implementations

impl Predefines[src]

pub fn append(&mut self, symbols: SymbolTable<()>) -> Result<(), String>[src]

Appends the symbols of another symbol table to the list of predefines. This can be used to define additional symbols on top of the default predefines. If any new symbol was already defined, returns Err with the name of the conflicting symbol. In the case of an error, self is not modified.

Trait Implementations

impl Default for Predefines[src]

fn default() -> Predefines[src]

Gets the default predefined symbols

impl From<SymbolTable<()>> for Predefines[src]

fn from(symbols: SymbolTable<()>) -> Predefines[src]

Constructs a new set of predefines from a symbol table.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Az for T[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CheckedAs for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> OverflowingAs for T[src]

impl<T> SaturatingAs for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> UnwrappedAs for T[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WrappingAs for T[src]