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