#[repr(C)]pub struct instruction_fetch_interface {
pub get_mode: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> instruction_fetch_mode_t>,
pub set_mode: Option<unsafe extern "C" fn(obj: *mut conf_object_t, mode: instruction_fetch_mode_t)>,
pub get_line_size: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> c_int>,
pub set_line_size: Option<unsafe extern "C" fn(obj: *mut conf_object_t, size: c_int)>,
}
Fields§
§get_mode: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> instruction_fetch_mode_t>
§set_mode: Option<unsafe extern "C" fn(obj: *mut conf_object_t, mode: instruction_fetch_mode_t)>
§get_line_size: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> c_int>
§set_line_size: Option<unsafe extern "C" fn(obj: *mut conf_object_t, size: c_int)>
Trait Implementations§
source§impl Clone for instruction_fetch_interface
impl Clone for instruction_fetch_interface
source§fn clone(&self) -> instruction_fetch_interface
fn clone(&self) -> instruction_fetch_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 instruction_fetch_interface
impl Debug for instruction_fetch_interface
source§impl Default for instruction_fetch_interface
impl Default for instruction_fetch_interface
source§fn default() -> instruction_fetch_interface
fn default() -> instruction_fetch_interface
Returns the “default value” for a type. Read more
source§impl Hash for instruction_fetch_interface
impl Hash for instruction_fetch_interface
source§impl Ord for instruction_fetch_interface
impl Ord for instruction_fetch_interface
source§fn cmp(&self, other: &instruction_fetch_interface) -> Ordering
fn cmp(&self, other: &instruction_fetch_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 instruction_fetch_interface
impl PartialOrd for instruction_fetch_interface
impl Copy for instruction_fetch_interface
impl Eq for instruction_fetch_interface
impl StructuralPartialEq for instruction_fetch_interface
Auto Trait Implementations§
impl Freeze for instruction_fetch_interface
impl RefUnwindSafe for instruction_fetch_interface
impl Send for instruction_fetch_interface
impl Sync for instruction_fetch_interface
impl Unpin for instruction_fetch_interface
impl UnwindSafe for instruction_fetch_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
)