#[repr(C)]pub struct mips_coprocessor_interface {
pub read_register: Option<unsafe extern "C" fn(obj: *mut conf_object_t, thread_id: uint32, reg: uint32, sel: uint32) -> uint64>,
pub write_register: Option<unsafe extern "C" fn(obj: *mut conf_object_t, thread_id: uint32, value: uint64, reg: uint32, sel: uint32)>,
}
Fields§
§read_register: Option<unsafe extern "C" fn(obj: *mut conf_object_t, thread_id: uint32, reg: uint32, sel: uint32) -> uint64>
§write_register: Option<unsafe extern "C" fn(obj: *mut conf_object_t, thread_id: uint32, value: uint64, reg: uint32, sel: uint32)>
Trait Implementations§
source§impl Clone for mips_coprocessor_interface
impl Clone for mips_coprocessor_interface
source§fn clone(&self) -> mips_coprocessor_interface
fn clone(&self) -> mips_coprocessor_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 Debug for mips_coprocessor_interface
impl Debug for mips_coprocessor_interface
source§impl Default for mips_coprocessor_interface
impl Default for mips_coprocessor_interface
source§fn default() -> mips_coprocessor_interface
fn default() -> mips_coprocessor_interface
Returns the “default value” for a type. Read more
source§impl Hash for mips_coprocessor_interface
impl Hash for mips_coprocessor_interface
source§impl Ord for mips_coprocessor_interface
impl Ord for mips_coprocessor_interface
source§fn cmp(&self, other: &mips_coprocessor_interface) -> Ordering
fn cmp(&self, other: &mips_coprocessor_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 PartialOrd for mips_coprocessor_interface
impl PartialOrd for mips_coprocessor_interface
impl Copy for mips_coprocessor_interface
impl Eq for mips_coprocessor_interface
impl StructuralPartialEq for mips_coprocessor_interface
Auto Trait Implementations§
impl Freeze for mips_coprocessor_interface
impl RefUnwindSafe for mips_coprocessor_interface
impl Send for mips_coprocessor_interface
impl Sync for mips_coprocessor_interface
impl Unpin for mips_coprocessor_interface
impl UnwindSafe for mips_coprocessor_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
)