Struct winapi::winsock2::sockproto [] [src]

pub struct sockproto {
    pub sp_family: u_short,
    pub sp_protocol: u_short,
}

Fields

sp_family: u_short sp_protocol: u_short

Trait Implementations

impl Debug for sockproto
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Copy for sockproto
[src]

impl Clone for sockproto
[src]

fn clone(&self) -> sockproto

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more