Trait cpclib_asm::preamble::data_access::DataAccessElem

source ·
pub trait DataAccessElem: Sized + Debug + Display {
    type Expr: ExprElement;

Show 42 methods // Required methods fn get_expression(&self) -> Option<&Self::Expr>; fn get_flag_test(&self) -> Option<FlagTest>; fn get_index(&self) -> Option<(BinaryOperation, &Self::Expr)>; fn get_indexregister16(&self) -> Option<IndexRegister16>; fn get_indexregister8(&self) -> Option<IndexRegister8>; fn get_register16(&self) -> Option<Register16>; fn get_register8(&self) -> Option<Register8>; fn is_address_in_indexregister16(&self) -> bool; fn is_address_in_register16(&self) -> bool; fn is_indexregister_with_index(&self) -> bool; fn is_indexregister16(&self) -> bool; fn is_indexregister8(&self) -> bool; fn is_expression(&self) -> bool; fn is_memory(&self) -> bool; fn is_port_c(&self) -> bool; fn is_port_n(&self) -> bool; fn is_register_a(&self) -> bool; fn is_register_af(&self) -> bool; fn is_register_b(&self) -> bool; fn is_register_bc(&self) -> bool; fn is_register_c(&self) -> bool; fn is_register_d(&self) -> bool; fn is_register_de(&self) -> bool; fn is_register_e(&self) -> bool; fn is_register_h(&self) -> bool; fn is_register_hl(&self) -> bool; fn is_register_i(&self) -> bool; fn is_register_ix(&self) -> bool; fn is_register_ixh(&self) -> bool; fn is_register_ixl(&self) -> bool; fn is_register_iy(&self) -> bool; fn is_register_iyh(&self) -> bool; fn is_register_iyl(&self) -> bool; fn is_register_l(&self) -> bool; fn is_register_r(&self) -> bool; fn is_register_sp(&self) -> bool; fn is_register16(&self) -> bool; fn is_register8(&self) -> bool; fn to_data_access_for_high_register(&self) -> Option<Self>; fn to_data_access_for_low_register(&self) -> Option<Self>; fn to_data_access(&self) -> Cow<'_, DataAccess>; // Provided method fn is_address_in_hl(&self) -> bool { ... }
}

Required Associated Types§

Required Methods§

source

fn get_expression(&self) -> Option<&Self::Expr>

source

fn get_flag_test(&self) -> Option<FlagTest>

source

fn get_index(&self) -> Option<(BinaryOperation, &Self::Expr)>

source

fn get_indexregister16(&self) -> Option<IndexRegister16>

source

fn get_indexregister8(&self) -> Option<IndexRegister8>

source

fn get_register16(&self) -> Option<Register16>

source

fn get_register8(&self) -> Option<Register8>

source

fn is_address_in_indexregister16(&self) -> bool

source

fn is_address_in_register16(&self) -> bool

source

fn is_indexregister_with_index(&self) -> bool

source

fn is_indexregister16(&self) -> bool

source

fn is_indexregister8(&self) -> bool

source

fn is_expression(&self) -> bool

source

fn is_memory(&self) -> bool

source

fn is_port_c(&self) -> bool

source

fn is_port_n(&self) -> bool

source

fn is_register_a(&self) -> bool

source

fn is_register_af(&self) -> bool

source

fn is_register_b(&self) -> bool

source

fn is_register_bc(&self) -> bool

source

fn is_register_c(&self) -> bool

source

fn is_register_d(&self) -> bool

source

fn is_register_de(&self) -> bool

source

fn is_register_e(&self) -> bool

source

fn is_register_h(&self) -> bool

source

fn is_register_hl(&self) -> bool

source

fn is_register_i(&self) -> bool

source

fn is_register_ix(&self) -> bool

source

fn is_register_ixh(&self) -> bool

source

fn is_register_ixl(&self) -> bool

source

fn is_register_iy(&self) -> bool

source

fn is_register_iyh(&self) -> bool

source

fn is_register_iyl(&self) -> bool

source

fn is_register_l(&self) -> bool

source

fn is_register_r(&self) -> bool

source

fn is_register_sp(&self) -> bool

source

fn is_register16(&self) -> bool

source

fn is_register8(&self) -> bool

source

fn to_data_access_for_high_register(&self) -> Option<Self>

source

fn to_data_access_for_low_register(&self) -> Option<Self>

source

fn to_data_access(&self) -> Cow<'_, DataAccess>

Provided Methods§

Object Safety§

This trait is not object safe.

Implementors§