Struct openthread_sys::otRadioFrame
source · #[repr(C)]pub struct otRadioFrame {
pub mPsdu: *mut u8,
pub mLength: u16,
pub mChannel: u8,
pub mRadioType: u8,
pub mInfo: otRadioFrame__bindgen_ty_1,
}
Expand description
Represents an IEEE 802.15.4 radio frame.
Fields§
§mPsdu: *mut u8
< The PSDU.
mLength: u16
< Length of the PSDU.
mChannel: u8
< Channel used to transmit/receive the frame.
mRadioType: u8
< Radio link type - should be ignored by radio driver.
mInfo: otRadioFrame__bindgen_ty_1
Trait Implementations§
source§impl Clone for otRadioFrame
impl Clone for otRadioFrame
source§fn clone(&self) -> otRadioFrame
fn clone(&self) -> otRadioFrame
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 otRadioFrame
impl Default for otRadioFrame
impl Copy for otRadioFrame
Auto Trait Implementations§
impl Freeze for otRadioFrame
impl RefUnwindSafe for otRadioFrame
impl !Send for otRadioFrame
impl !Sync for otRadioFrame
impl Unpin for otRadioFrame
impl UnwindSafe for otRadioFrame
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
)