pub trait TxPointer {
// Required methods
fn tx_pointer(&self) -> &TxPointer;
fn tx_pointer_mut(&mut self) -> &mut TxPointer;
fn tx_pointer_static() -> usize;
// Provided method
fn tx_pointer_offset(&self) -> usize { ... }
}
Required Methods§
fn tx_pointer(&self) -> &TxPointer
fn tx_pointer_mut(&mut self) -> &mut TxPointer
fn tx_pointer_static() -> usize
Provided Methods§
fn tx_pointer_offset(&self) -> usize
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.