We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent addd6e1 commit d60ce4aCopy full SHA for d60ce4a
uefi-raw/src/lib.rs
@@ -59,16 +59,16 @@ pub type PhysicalAddress = u64;
59
pub type VirtualAddress = u64;
60
61
/// An IPv4 internet protocol address.
62
-#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
+#[derive(Clone, Copy, Debug, Default, Eq, PartialEq, Ord, PartialOrd, Hash)]
63
#[repr(transparent)]
64
pub struct Ipv4Address(pub [u8; 4]);
65
66
/// An IPv6 internet protocol address.
67
68
69
pub struct Ipv6Address(pub [u8; 16]);
70
71
/// A Media Access Control (MAC) address.
72
73
74
pub struct MacAddress(pub [u8; 32]);
0 commit comments