#[repr(C)]pub struct otLinkModeConfig {
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
}
Expand description
Represents an MLE Link Mode configuration.
Fields§
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
Implementations§
Source§impl otLinkModeConfig
impl otLinkModeConfig
pub fn mRxOnWhenIdle(&self) -> bool
pub fn set_mRxOnWhenIdle(&mut self, val: bool)
pub unsafe fn mRxOnWhenIdle_raw(this: *const otLinkModeConfig) -> bool
pub unsafe fn set_mRxOnWhenIdle_raw(this: *mut otLinkModeConfig, val: bool)
pub fn mDeviceType(&self) -> bool
pub fn set_mDeviceType(&mut self, val: bool)
pub unsafe fn mDeviceType_raw(this: *const otLinkModeConfig) -> bool
pub unsafe fn set_mDeviceType_raw(this: *mut otLinkModeConfig, val: bool)
pub fn mNetworkData(&self) -> bool
pub fn set_mNetworkData(&mut self, val: bool)
pub unsafe fn mNetworkData_raw(this: *const otLinkModeConfig) -> bool
pub unsafe fn set_mNetworkData_raw(this: *mut otLinkModeConfig, val: bool)
pub fn new_bitfield_1( mRxOnWhenIdle: bool, mDeviceType: bool, mNetworkData: bool, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Source§impl Clone for otLinkModeConfig
impl Clone for otLinkModeConfig
Source§fn clone(&self) -> otLinkModeConfig
fn clone(&self) -> otLinkModeConfig
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for otLinkModeConfig
impl Debug for otLinkModeConfig
Source§impl Default for otLinkModeConfig
impl Default for otLinkModeConfig
Source§fn default() -> otLinkModeConfig
fn default() -> otLinkModeConfig
Returns the “default value” for a type. Read more
impl Copy for otLinkModeConfig
Auto Trait Implementations§
impl Freeze for otLinkModeConfig
impl RefUnwindSafe for otLinkModeConfig
impl Send for otLinkModeConfig
impl Sync for otLinkModeConfig
impl Unpin for otLinkModeConfig
impl UnwindSafe for otLinkModeConfig
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)