Struct libc::can_filter
source · #[repr(C)]pub struct can_filter {
pub can_id: canid_t,
pub can_mask: canid_t,
}
Fields§
§can_id: canid_t
§can_mask: canid_t
Trait Implementations§
source§impl Clone for can_filter
impl Clone for can_filter
source§fn clone(&self) -> can_filter
fn clone(&self) -> can_filter
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 Debug for can_filter
impl Debug for can_filter
source§impl Hash for can_filter
impl Hash for can_filter
source§impl PartialEq for can_filter
impl PartialEq for can_filter
source§fn eq(&self, other: &can_filter) -> bool
fn eq(&self, other: &can_filter) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for can_filter
impl Eq for can_filter
impl StructuralPartialEq for can_filter
Auto Trait Implementations§
impl Freeze for can_filter
impl RefUnwindSafe for can_filter
impl Send for can_filter
impl Sync for can_filter
impl Unpin for can_filter
impl UnwindSafe for can_filter
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)