pub struct Component<'a> { /* private fields */ }
Expand description
A component of an object identifier.
Although these components are integers, they are encoded in a slightly inconvenient way. Because of this we don’t convert them to native integers but rather keep them as references to the underlying octets.
This type allows comparison and formatting, which hopefully is all you’ll
need. If you insist, the method to_u32
allows you to try to convert a
component to a native integer.
Implementations§
Trait Implementations§
source§impl<'a> PartialEq for Component<'a>
impl<'a> PartialEq for Component<'a>
impl<'a> Copy for Component<'a>
impl<'a> Eq for Component<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Component<'a>
impl<'a> Send for Component<'a>
impl<'a> Sync for Component<'a>
impl<'a> Unpin for Component<'a>
impl<'a> UnwindSafe for Component<'a>
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