#[repr(C, packed(1))]pub union IpAddressV4Union {
pub ip_subnet: IpSubnetV4,
pub ip_range: IpRangeV4,
}Expand description
A Rust union representing either an IPv4 subnet (IpSubnetV4) or an IPv4 address range (IpRangeV4).
Fields§
§ip_subnet: IpSubnetV4The IPv4 subnet representation.
ip_range: IpRangeV4The IPv4 address range representation.
Trait Implementations§
Source§impl Clone for IpAddressV4Union
impl Clone for IpAddressV4Union
Source§fn clone(&self) -> IpAddressV4Union
fn clone(&self) -> IpAddressV4Union
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for IpAddressV4Union
impl Default for IpAddressV4Union
impl Copy for IpAddressV4Union
Auto Trait Implementations§
impl Freeze for IpAddressV4Union
impl RefUnwindSafe for IpAddressV4Union
impl Send for IpAddressV4Union
impl Sync for IpAddressV4Union
impl Unpin for IpAddressV4Union
impl UnwindSafe for IpAddressV4Union
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)