Struct ethercat_sys::ec_sii_general_flags_t
source · #[repr(C, packed(1))]pub struct ec_sii_general_flags_t {
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
}
Expand description
Slave information interface general flags.
Fields§
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
Implementations§
source§impl ec_sii_general_flags_t
impl ec_sii_general_flags_t
pub fn enable_safeop(&self) -> u8
pub fn set_enable_safeop(&mut self, val: u8)
pub fn enable_not_lrw(&self) -> u8
pub fn set_enable_not_lrw(&mut self, val: u8)
pub fn new_bitfield_1( enable_safeop: u8, enable_not_lrw: u8 ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
source§impl Clone for ec_sii_general_flags_t
impl Clone for ec_sii_general_flags_t
source§fn clone(&self) -> ec_sii_general_flags_t
fn clone(&self) -> ec_sii_general_flags_t
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 Default for ec_sii_general_flags_t
impl Default for ec_sii_general_flags_t
source§fn default() -> ec_sii_general_flags_t
fn default() -> ec_sii_general_flags_t
Returns the “default value” for a type. Read more
impl Copy for ec_sii_general_flags_t
Auto Trait Implementations§
impl RefUnwindSafe for ec_sii_general_flags_t
impl Send for ec_sii_general_flags_t
impl Sync for ec_sii_general_flags_t
impl Unpin for ec_sii_general_flags_t
impl UnwindSafe for ec_sii_general_flags_t
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