Struct openthread_sys::otNetworkName
source · #[repr(C)]pub struct otNetworkName {
pub m8: [c_char; 17],
}
Expand description
Represents a Network Name.
The otNetworkName
is a null terminated C string (i.e., m8
char array MUST end with null char \0
).
Fields§
§m8: [c_char; 17]
< Byte values. The + 1
is for null char.
Trait Implementations§
source§impl Clone for otNetworkName
impl Clone for otNetworkName
source§fn clone(&self) -> otNetworkName
fn clone(&self) -> otNetworkName
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 otNetworkName
impl Debug for otNetworkName
source§impl Default for otNetworkName
impl Default for otNetworkName
source§fn default() -> otNetworkName
fn default() -> otNetworkName
Returns the “default value” for a type. Read more
impl Copy for otNetworkName
Auto Trait Implementations§
impl Freeze for otNetworkName
impl RefUnwindSafe for otNetworkName
impl Send for otNetworkName
impl Sync for otNetworkName
impl Unpin for otNetworkName
impl UnwindSafe for otNetworkName
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
)