Struct lib_sendpacket::Ip
[−]
[src]
pub struct Ip { pub src: String, pub dst: String, }
Fields
src: String
dst: String
Trait Implementations
impl Clone for Ip
[src]
fn clone(&self) -> Ip
[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
impl Debug for Ip
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for Ip
[src]
fn eq(&self, __arg_0: &Ip) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Ip) -> bool
[src]
This method tests for !=
.
impl Eq for Ip
[src]
impl Div<Ip> for L2
[src]
type Output = L3
The resulting type after applying the /
operator.
fn div(self, rhs: Ip) -> Self::Output
[src]
Performs the /
operation.