pub struct OneByteId(/* private fields */);Available on crate feature
rfc8285 only.Expand description
A validated RFC 8285 one-byte-form local identifier (§4.2: range 1..=14
inclusive). 0 (padding) and 15 (reserved/“stop”) are not representable
— OneByteId::new rejects them, so an OneByteElement can never hold
a reserved ID value.
Implementations§
Trait Implementations§
impl Copy for OneByteId
impl Eq for OneByteId
Source§impl Ord for OneByteId
impl Ord for OneByteId
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
Source§impl PartialOrd for OneByteId
impl PartialOrd for OneByteId
impl StructuralPartialEq for OneByteId
Auto Trait Implementations§
impl Freeze for OneByteId
impl RefUnwindSafe for OneByteId
impl Send for OneByteId
impl Sync for OneByteId
impl Unpin for OneByteId
impl UnsafeUnpin for OneByteId
impl UnwindSafe for OneByteId
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