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§
type Expr: ExprElement
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
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.