#[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 duplicate 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 Freeze for ec_sii_general_flags_t
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