Union linux_raw_sys::net::nf_inet_addr
source · #[repr(C)]
pub union nf_inet_addr {
pub all: [__u32; 4],
pub ip: __be32,
pub ip6: [__be32; 4],
pub in_: in_addr,
pub in6: in6_addr,
}
Fields§
§all: [__u32; 4]
§ip: __be32
§ip6: [__be32; 4]
§in_: in_addr
§in6: in6_addr
Trait Implementations§
source§impl Clone for nf_inet_addr
impl Clone for nf_inet_addr
source§fn clone(&self) -> nf_inet_addr
fn clone(&self) -> nf_inet_addr
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 moreimpl Copy for nf_inet_addr
Auto Trait Implementations§
impl Freeze for nf_inet_addr
impl RefUnwindSafe for nf_inet_addr
impl Send for nf_inet_addr
impl Sync for nf_inet_addr
impl Unpin for nf_inet_addr
impl UnwindSafe for nf_inet_addr
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: 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
)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
)