Struct openthread_sys::otLinkModeConfig
source · #[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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)