Struct ethercat::PdoEntryIdx
source · pub struct PdoEntryIdx {
pub idx: Idx,
pub sub_idx: SubIdx,
}
Expand description
PDO Entry Index
Fields§
§idx: Idx
§sub_idx: SubIdx
Implementations§
source§impl PdoEntryIdx
impl PdoEntryIdx
pub const fn new(idx: u16, sub: u8) -> PdoEntryIdx
Trait Implementations§
source§impl Clone for PdoEntryIdx
impl Clone for PdoEntryIdx
source§fn clone(&self) -> PdoEntryIdx
fn clone(&self) -> PdoEntryIdx
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 PdoEntryIdx
impl Debug for PdoEntryIdx
source§impl Hash for PdoEntryIdx
impl Hash for PdoEntryIdx
source§impl PartialEq for PdoEntryIdx
impl PartialEq for PdoEntryIdx
source§fn eq(&self, other: &PdoEntryIdx) -> bool
fn eq(&self, other: &PdoEntryIdx) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PdoEntryIdx
impl Eq for PdoEntryIdx
impl StructuralEq for PdoEntryIdx
impl StructuralPartialEq for PdoEntryIdx
Auto Trait Implementations§
impl RefUnwindSafe for PdoEntryIdx
impl Send for PdoEntryIdx
impl Sync for PdoEntryIdx
impl Unpin for PdoEntryIdx
impl UnwindSafe for PdoEntryIdx
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