Struct simics_api_sys::bindings::firewire_bus_interface
source · #[repr(C)]pub struct firewire_bus_interface {
pub connect_device: Option<unsafe extern "C" fn(bus: *mut conf_object_t, dev: *mut conf_object_t) -> c_int>,
pub disconnect_device: Option<unsafe extern "C" fn(bus: *mut conf_object_t, dev: *mut conf_object_t) -> c_int>,
pub set_device_bus_id: Option<unsafe extern "C" fn(bus: *mut conf_object_t, dev: *mut conf_object_t, bus_id: uint16)>,
pub set_id_mask: Option<unsafe extern "C" fn(bus: *mut conf_object_t, dev: *mut conf_object_t, id_mask: uint16)>,
pub transfer: Option<unsafe extern "C" fn(bus: *mut conf_object_t, source: *mut conf_object_t, packet: *mut dbuffer_t, crc_calculated: c_int) -> firewire_ack_code_t>,
pub register_channel: Option<unsafe extern "C" fn(bus: *mut conf_object_t, dev: *mut conf_object_t, channel: uint32) -> c_int>,
pub unregister_channel: Option<unsafe extern "C" fn(bus: *mut conf_object_t, dev: *mut conf_object_t, channel: uint32) -> c_int>,
pub reset: Option<unsafe extern "C" fn(bus: *mut conf_object_t)>,
}
Fields§
§connect_device: Option<unsafe extern "C" fn(bus: *mut conf_object_t, dev: *mut conf_object_t) -> c_int>
§disconnect_device: Option<unsafe extern "C" fn(bus: *mut conf_object_t, dev: *mut conf_object_t) -> c_int>
§set_device_bus_id: Option<unsafe extern "C" fn(bus: *mut conf_object_t, dev: *mut conf_object_t, bus_id: uint16)>
§set_id_mask: Option<unsafe extern "C" fn(bus: *mut conf_object_t, dev: *mut conf_object_t, id_mask: uint16)>
§transfer: Option<unsafe extern "C" fn(bus: *mut conf_object_t, source: *mut conf_object_t, packet: *mut dbuffer_t, crc_calculated: c_int) -> firewire_ack_code_t>
§register_channel: Option<unsafe extern "C" fn(bus: *mut conf_object_t, dev: *mut conf_object_t, channel: uint32) -> c_int>
§unregister_channel: Option<unsafe extern "C" fn(bus: *mut conf_object_t, dev: *mut conf_object_t, channel: uint32) -> c_int>
§reset: Option<unsafe extern "C" fn(bus: *mut conf_object_t)>
Trait Implementations§
source§impl Clone for firewire_bus_interface
impl Clone for firewire_bus_interface
source§fn clone(&self) -> firewire_bus_interface
fn clone(&self) -> firewire_bus_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 firewire_bus_interface
impl Debug for firewire_bus_interface
source§impl Default for firewire_bus_interface
impl Default for firewire_bus_interface
source§fn default() -> firewire_bus_interface
fn default() -> firewire_bus_interface
Returns the “default value” for a type. Read more
source§impl Hash for firewire_bus_interface
impl Hash for firewire_bus_interface
source§impl Ord for firewire_bus_interface
impl Ord for firewire_bus_interface
source§fn cmp(&self, other: &firewire_bus_interface) -> Ordering
fn cmp(&self, other: &firewire_bus_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 firewire_bus_interface
impl PartialEq for firewire_bus_interface
source§impl PartialOrd for firewire_bus_interface
impl PartialOrd for firewire_bus_interface
impl Copy for firewire_bus_interface
impl Eq for firewire_bus_interface
impl StructuralPartialEq for firewire_bus_interface
Auto Trait Implementations§
impl Freeze for firewire_bus_interface
impl RefUnwindSafe for firewire_bus_interface
impl Send for firewire_bus_interface
impl Sync for firewire_bus_interface
impl Unpin for firewire_bus_interface
impl UnwindSafe for firewire_bus_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
)