pub struct PacketIdentifier(pub u16);
Tuple Fields§
§0: u16
Implementations§
Source§impl PacketIdentifier
impl PacketIdentifier
pub fn zero() -> PacketIdentifier
pub fn next(&self) -> PacketIdentifier
Trait Implementations§
Source§impl Clone for PacketIdentifier
impl Clone for PacketIdentifier
Source§fn clone(&self) -> PacketIdentifier
fn clone(&self) -> PacketIdentifier
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 PacketIdentifier
impl Debug for PacketIdentifier
Source§impl Ord for PacketIdentifier
impl Ord for PacketIdentifier
Source§fn cmp(&self, other: &PacketIdentifier) -> Ordering
fn cmp(&self, other: &PacketIdentifier) -> 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 PacketIdentifier
impl PartialEq for PacketIdentifier
Source§impl PartialOrd for PacketIdentifier
impl PartialOrd for PacketIdentifier
impl Copy for PacketIdentifier
impl Eq for PacketIdentifier
impl StructuralPartialEq for PacketIdentifier
Auto Trait Implementations§
impl Freeze for PacketIdentifier
impl RefUnwindSafe for PacketIdentifier
impl Send for PacketIdentifier
impl Sync for PacketIdentifier
impl Unpin for PacketIdentifier
impl UnwindSafe for PacketIdentifier
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