#[repr(C)]pub union ip4_address_t {
pub data: [u8_; 4],
pub data_u32: u32_,
pub as_u8: [u8_; 4],
pub as_u16: [u16_; 2],
pub as_u32: u32_,
}Fields§
§data: [u8_; 4]§data_u32: u32_§as_u8: [u8_; 4]§as_u16: [u16_; 2]§as_u32: u32_Trait Implementations§
Source§impl Clone for ip4_address_t
impl Clone for ip4_address_t
Source§fn clone(&self) -> ip4_address_t
fn clone(&self) -> ip4_address_t
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ip4_address_t
impl Default for ip4_address_t
impl Copy for ip4_address_t
Auto Trait Implementations§
impl Freeze for ip4_address_t
impl RefUnwindSafe for ip4_address_t
impl Send for ip4_address_t
impl Sync for ip4_address_t
impl Unpin for ip4_address_t
impl UnsafeUnpin for ip4_address_t
impl UnwindSafe for ip4_address_t
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