pub struct ParameterId(pub u16);Expand description
A parameter id (DDSI-RTPS 2.5, 9.4.2.11.2).
Tuple Fields§
§0: u16Implementations§
Source§impl ParameterId
impl ParameterId
Sourcepub const PAD: ParameterId
pub const PAD: ParameterId
PID_PAD: padding, skipped when reading.
Sourcepub const SENTINEL: ParameterId
pub const SENTINEL: ParameterId
PID_SENTINEL: ends the list.
Sourcepub const fn is_vendor_specific(self) -> bool
pub const fn is_vendor_specific(self) -> bool
Whether the id is in the vendor-specific range (bit 0x8000).
Sourcepub const fn must_understand(self) -> bool
pub const fn must_understand(self) -> bool
Whether a receiver that does not know the id must treat it as an
error rather than skip it (bit 0x4000, Table 9.6).
Trait Implementations§
Source§impl Clone for ParameterId
impl Clone for ParameterId
impl Copy for ParameterId
Source§impl Debug for ParameterId
impl Debug for ParameterId
impl Eq for ParameterId
Source§impl Hash for ParameterId
impl Hash for ParameterId
Source§impl Ord for ParameterId
impl Ord for ParameterId
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 ParameterId
impl PartialEq for ParameterId
Source§impl PartialOrd for ParameterId
impl PartialOrd for ParameterId
impl StructuralPartialEq for ParameterId
Auto Trait Implementations§
impl Forget for ParameterId
impl Freeze for ParameterId
impl Move for ParameterId
impl RefUnwindSafe for ParameterId
impl Send for ParameterId
impl Sync for ParameterId
impl Unpin for ParameterId
impl UnsafeUnpin for ParameterId
impl UnwindSafe for ParameterId
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