#[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,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 24 bytes