Struct libc::unix::linux_like::linux::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 moreimpl Copy for sockaddr_can
Auto Trait Implementations§
impl RefUnwindSafe for sockaddr_can
impl Send for sockaddr_can
impl Sync for sockaddr_can
impl Unpin for sockaddr_can
impl UnwindSafe for sockaddr_can
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more