[][src]Struct cpclib_asm::AssemblingOptions

pub struct AssemblingOptions { /* fields omitted */ }

Configuration of the assembler. By default the assembler is case sensitive and has no symbol

Methods

impl AssemblingOptions[src]

pub fn new_case_sensitive() -> Self[src]

pub fn new_case_insensitive() -> Self[src]

pub fn new_with_table(symbols: &SymbolsTable) -> Self[src]

Creation an option object with the given symbol table

pub fn set_case_sensitive(&mut self, val: bool) -> &mut Self[src]

Specify if the assembler must be case sensitive or not

pub fn set_symbols(&mut self, val: &SymbolsTable) -> &mut Self[src]

Specify a symbol table to copy

pub fn symbols(&self) -> &SymbolsTable[src]

pub fn case_sensitive(&self) -> bool[src]

Trait Implementations

impl Clone for AssemblingOptions[src]

impl Debug for AssemblingOptions[src]

impl Default for AssemblingOptions[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.