#[repr(C)]pub struct transaction_translator_interface {
pub translate: Option<unsafe extern "C" fn(obj: *mut conf_object_t, addr: uint64, access: access_t, t: *mut transaction_t, callback: Option<unsafe extern "C" fn(translation: translation_t, transaction: *mut transaction_t, data: cbdata_call_t) -> exception_type_t>, data: cbdata_register_t) -> exception_type_t>,
}
Fields§
§translate: Option<unsafe extern "C" fn(obj: *mut conf_object_t, addr: uint64, access: access_t, t: *mut transaction_t, callback: Option<unsafe extern "C" fn(translation: translation_t, transaction: *mut transaction_t, data: cbdata_call_t) -> exception_type_t>, data: cbdata_register_t) -> exception_type_t>
Trait Implementations§
source§impl Clone for transaction_translator_interface
impl Clone for transaction_translator_interface
source§fn clone(&self) -> transaction_translator_interface
fn clone(&self) -> transaction_translator_interface
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for transaction_translator_interface
impl Default for transaction_translator_interface
source§fn default() -> transaction_translator_interface
fn default() -> transaction_translator_interface
Returns the “default value” for a type. Read more
source§impl Ord for transaction_translator_interface
impl Ord for transaction_translator_interface
source§fn cmp(&self, other: &transaction_translator_interface) -> Ordering
fn cmp(&self, other: &transaction_translator_interface) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for transaction_translator_interface
impl PartialEq for transaction_translator_interface
source§fn eq(&self, other: &transaction_translator_interface) -> bool
fn eq(&self, other: &transaction_translator_interface) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.source§impl PartialOrd for transaction_translator_interface
impl PartialOrd for transaction_translator_interface
impl Copy for transaction_translator_interface
impl Eq for transaction_translator_interface
impl StructuralPartialEq for transaction_translator_interface
Auto Trait Implementations§
impl Freeze for transaction_translator_interface
impl RefUnwindSafe for transaction_translator_interface
impl Send for transaction_translator_interface
impl Sync for transaction_translator_interface
impl Unpin for transaction_translator_interface
impl UnwindSafe for transaction_translator_interface
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)