Struct ethercat::PdoEntryPos
source · pub struct PdoEntryPos(/* private fields */);
Expand description
PDO Entry Position
Implementations§
source§impl PdoEntryPos
impl PdoEntryPos
pub const fn new(p: u8) -> PdoEntryPos
Trait Implementations§
source§impl Clone for PdoEntryPos
impl Clone for PdoEntryPos
source§fn clone(&self) -> PdoEntryPos
fn clone(&self) -> PdoEntryPos
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 PdoEntryPos
impl Debug for PdoEntryPos
source§impl From<u8> for PdoEntryPos
impl From<u8> for PdoEntryPos
source§fn from(pos: u8) -> PdoEntryPos
fn from(pos: u8) -> PdoEntryPos
Converts to this type from the input type.
source§impl Hash for PdoEntryPos
impl Hash for PdoEntryPos
source§impl Ord for PdoEntryPos
impl Ord for PdoEntryPos
source§fn cmp(&self, other: &PdoEntryPos) -> Ordering
fn cmp(&self, other: &PdoEntryPos) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for PdoEntryPos
impl PartialEq for PdoEntryPos
source§fn eq(&self, other: &PdoEntryPos) -> bool
fn eq(&self, other: &PdoEntryPos) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for PdoEntryPos
impl PartialOrd for PdoEntryPos
source§fn partial_cmp(&self, other: &PdoEntryPos) -> Option<Ordering>
fn partial_cmp(&self, other: &PdoEntryPos) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for PdoEntryPos
impl Eq for PdoEntryPos
impl StructuralEq for PdoEntryPos
impl StructuralPartialEq for PdoEntryPos
Auto Trait Implementations§
impl RefUnwindSafe for PdoEntryPos
impl Send for PdoEntryPos
impl Sync for PdoEntryPos
impl Unpin for PdoEntryPos
impl UnwindSafe for PdoEntryPos
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