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