DataAccessElem

Trait DataAccessElem 

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

Show 43 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 methods fn is_flag_test(&self) -> bool { ... } 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§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§