Struct capsules::net::ip::IPAddr
[−]
[src]
pub struct IPAddr(pub [u8; 16]);
Methods
impl IPAddr
[src]
pub fn new() -> IPAddr
[src]
pub fn is_unspecified(&self) -> bool
[src]
pub fn is_unicast_link_local(&self) -> bool
[src]
pub fn set_unicast_link_local(&mut self)
[src]
pub fn set_prefix(&mut self, prefix: &[u8], prefix_len: u8)
[src]
pub fn is_multicast(&self) -> bool
[src]
Trait Implementations
impl Copy for IPAddr
[src]
impl Clone for IPAddr
[src]
fn clone(&self) -> IPAddr
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more