#[repr(C)]
pub struct ec_ioctl_slave_t {
Show 35 fields pub position: u16, pub device_index: c_uint, pub vendor_id: u32, pub product_code: u32, pub revision_number: u32, pub serial_number: u32, pub alias: u16, pub boot_rx_mailbox_offset: u16, pub boot_rx_mailbox_size: u16, pub boot_tx_mailbox_offset: u16, pub boot_tx_mailbox_size: u16, pub std_rx_mailbox_offset: u16, pub std_rx_mailbox_size: u16, pub std_tx_mailbox_offset: u16, pub std_tx_mailbox_size: u16, pub mailbox_protocols: u16, pub has_general_category: u8, pub coe_details: ec_sii_coe_details_t, pub general_flags: ec_sii_general_flags_t, pub current_on_ebus: i16, pub ports: [ec_ioctl_slave_t__bindgen_ty_1; 4], pub fmmu_bit: u8, pub dc_supported: u8, pub dc_range: ec_slave_dc_range_t, pub has_dc_system_time: u8, pub transmission_delay: u32, pub al_state: u8, pub error_flag: u8, pub sync_count: u8, pub sdo_count: u16, pub sii_nwords: u32, pub group: [c_char; 64], pub image: [c_char; 64], pub order: [c_char; 64], pub name: [c_char; 64],
}

Fields§

§position: u16§device_index: c_uint§vendor_id: u32§product_code: u32§revision_number: u32§serial_number: u32§alias: u16§boot_rx_mailbox_offset: u16§boot_rx_mailbox_size: u16§boot_tx_mailbox_offset: u16§boot_tx_mailbox_size: u16§std_rx_mailbox_offset: u16§std_rx_mailbox_size: u16§std_tx_mailbox_offset: u16§std_tx_mailbox_size: u16§mailbox_protocols: u16§has_general_category: u8§coe_details: ec_sii_coe_details_t§general_flags: ec_sii_general_flags_t§current_on_ebus: i16§ports: [ec_ioctl_slave_t__bindgen_ty_1; 4]§fmmu_bit: u8§dc_supported: u8§dc_range: ec_slave_dc_range_t§has_dc_system_time: u8§transmission_delay: u32§al_state: u8§error_flag: u8§sync_count: u8§sdo_count: u16§sii_nwords: u32§group: [c_char; 64]§image: [c_char; 64]§order: [c_char; 64]§name: [c_char; 64]

Trait Implementations§

source§

impl Clone for ec_ioctl_slave_t

source§

fn clone(&self) -> ec_ioctl_slave_t

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Default for ec_ioctl_slave_t

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl Copy for ec_ioctl_slave_t

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.