Struct libc::unix::linux_like::linux::__c_anonymous_sockaddr_can_tp
source · #[repr(C)]pub struct __c_anonymous_sockaddr_can_tp {
pub rx_id: canid_t,
pub tx_id: canid_t,
}
Fields§
§rx_id: canid_t
§tx_id: canid_t
Trait Implementations§
source§impl Clone for __c_anonymous_sockaddr_can_tp
impl Clone for __c_anonymous_sockaddr_can_tp
source§fn clone(&self) -> __c_anonymous_sockaddr_can_tp
fn clone(&self) -> __c_anonymous_sockaddr_can_tp
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 moresource§impl Hash for __c_anonymous_sockaddr_can_tp
impl Hash for __c_anonymous_sockaddr_can_tp
source§impl PartialEq for __c_anonymous_sockaddr_can_tp
impl PartialEq for __c_anonymous_sockaddr_can_tp
source§fn eq(&self, other: &__c_anonymous_sockaddr_can_tp) -> bool
fn eq(&self, other: &__c_anonymous_sockaddr_can_tp) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for __c_anonymous_sockaddr_can_tp
impl Eq for __c_anonymous_sockaddr_can_tp
impl StructuralPartialEq for __c_anonymous_sockaddr_can_tp
Auto Trait Implementations§
impl Freeze for __c_anonymous_sockaddr_can_tp
impl RefUnwindSafe for __c_anonymous_sockaddr_can_tp
impl Send for __c_anonymous_sockaddr_can_tp
impl Sync for __c_anonymous_sockaddr_can_tp
impl Unpin for __c_anonymous_sockaddr_can_tp
impl UnwindSafe for __c_anonymous_sockaddr_can_tp
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
)