Struct openthread_sys::otIp6Prefix
source · #[repr(C, packed(1))]pub struct otIp6Prefix {
pub mPrefix: otIp6Address,
pub mLength: u8,
}
Expand description
@struct otIp6Prefix
Represents an IPv6 prefix.
Fields§
§mPrefix: otIp6Address
< The IPv6 prefix.
mLength: u8
< The IPv6 prefix length (in bits).
Trait Implementations§
source§impl Clone for otIp6Prefix
impl Clone for otIp6Prefix
source§fn clone(&self) -> otIp6Prefix
fn clone(&self) -> otIp6Prefix
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 otIp6Prefix
impl Default for otIp6Prefix
impl Copy for otIp6Prefix
Auto Trait Implementations§
impl Freeze for otIp6Prefix
impl RefUnwindSafe for otIp6Prefix
impl Send for otIp6Prefix
impl Sync for otIp6Prefix
impl Unpin for otIp6Prefix
impl UnwindSafe for otIp6Prefix
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
)