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
sourceimpl Clone for sockaddr_can
impl Clone for sockaddr_can
sourcefn clone(&self) -> sockaddr_can
fn clone(&self) -> sockaddr_can
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more