#[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 fn mDeviceType(&self) -> bool
pub fn set_mDeviceType(&mut self, val: bool)
pub fn mNetworkData(&self) -> bool
pub fn set_mNetworkData(&mut self, 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 · 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 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§
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
)