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 Freeze for sockaddr_can
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)