#[repr(C)]pub struct firewire_device_interface {
pub transfer: Option<unsafe extern "C" fn(dev: *mut conf_object_t, packet: *mut dbuffer_t, crc_calculated: c_int) -> firewire_ack_code_t>,
pub reset: Option<unsafe extern "C" fn(dev: *mut conf_object_t, id: uint16, root_id: uint8, self_ids: uint32_array_t)>,
pub get_self_id_template: Option<unsafe extern "C" fn(dev: *mut conf_object_t) -> uint32>,
pub get_rhb: Option<unsafe extern "C" fn(dev: *mut conf_object_t) -> c_int>,
pub get_port_count: Option<unsafe extern "C" fn(dev: *mut conf_object_t) -> uint8>,
pub get_port_mask: Option<unsafe extern "C" fn(dev: *mut conf_object_t) -> uint16>,
}
Fields§
§transfer: Option<unsafe extern "C" fn(dev: *mut conf_object_t, packet: *mut dbuffer_t, crc_calculated: c_int) -> firewire_ack_code_t>
§reset: Option<unsafe extern "C" fn(dev: *mut conf_object_t, id: uint16, root_id: uint8, self_ids: uint32_array_t)>
§get_self_id_template: Option<unsafe extern "C" fn(dev: *mut conf_object_t) -> uint32>
§get_rhb: Option<unsafe extern "C" fn(dev: *mut conf_object_t) -> c_int>
§get_port_count: Option<unsafe extern "C" fn(dev: *mut conf_object_t) -> uint8>
§get_port_mask: Option<unsafe extern "C" fn(dev: *mut conf_object_t) -> uint16>
Trait Implementations§
source§impl Clone for firewire_device_interface
impl Clone for firewire_device_interface
source§fn clone(&self) -> firewire_device_interface
fn clone(&self) -> firewire_device_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_device_interface
impl Debug for firewire_device_interface
source§impl Default for firewire_device_interface
impl Default for firewire_device_interface
source§fn default() -> firewire_device_interface
fn default() -> firewire_device_interface
Returns the “default value” for a type. Read more
source§impl Hash for firewire_device_interface
impl Hash for firewire_device_interface
source§impl Ord for firewire_device_interface
impl Ord for firewire_device_interface
source§fn cmp(&self, other: &firewire_device_interface) -> Ordering
fn cmp(&self, other: &firewire_device_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 firewire_device_interface
impl PartialOrd for firewire_device_interface
impl Copy for firewire_device_interface
impl Eq for firewire_device_interface
impl StructuralPartialEq for firewire_device_interface
Auto Trait Implementations§
impl Freeze for firewire_device_interface
impl RefUnwindSafe for firewire_device_interface
impl Send for firewire_device_interface
impl Sync for firewire_device_interface
impl Unpin for firewire_device_interface
impl UnwindSafe for firewire_device_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
)