pub struct FragmentNumber(pub u32);Expand description
A 32-bit fragment number, starting at 1 (DDSI-RTPS 2.5, 8.3.5.6).
Tuple Fields§
§0: u32Trait Implementations§
Source§impl Clone for FragmentNumber
impl Clone for FragmentNumber
impl Copy for FragmentNumber
Source§impl Debug for FragmentNumber
impl Debug for FragmentNumber
Source§impl Default for FragmentNumber
impl Default for FragmentNumber
impl Eq for FragmentNumber
Source§impl Hash for FragmentNumber
impl Hash for FragmentNumber
Source§impl Ord for FragmentNumber
impl Ord for FragmentNumber
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for FragmentNumber
impl PartialEq for FragmentNumber
Source§impl PartialOrd for FragmentNumber
impl PartialOrd for FragmentNumber
impl StructuralPartialEq for FragmentNumber
Auto Trait Implementations§
impl Forget for FragmentNumber
impl Freeze for FragmentNumber
impl Move for FragmentNumber
impl RefUnwindSafe for FragmentNumber
impl Send for FragmentNumber
impl Sync for FragmentNumber
impl Unpin for FragmentNumber
impl UnsafeUnpin for FragmentNumber
impl UnwindSafe for FragmentNumber
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