Struct libc::sockaddr_can
source · #[repr(C)]pub struct sockaddr_can {
pub can_family: sa_family_t,
pub can_ifindex: c_int,
pub can_addr: __c_anonymous_sockaddr_can_can_addr,
}
Fields§
§can_family: sa_family_t
§can_ifindex: c_int
§can_addr: __c_anonymous_sockaddr_can_can_addr
Trait Implementations§
source§impl Clone for sockaddr_can
impl Clone for sockaddr_can
source§fn clone(&self) -> sockaddr_can
fn clone(&self) -> sockaddr_can
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more