#[repr(transparent)]pub struct Entry(pub [u8; 4]);Expand description
The metadata of a JSON value, consisting of a tag for the type of the value, and an offset value to locate the value within the bytes data (if needed).
Tuple Fields§
§0: [u8; 4]Trait Implementations§
Source§impl From<&[u8]> for Entry
Convert a 4-byte slice to an Entry.
impl From<&[u8]> for Entry
Convert a 4-byte slice to an Entry.
§Panics
Panics if the slice is not 4 bytes long.
Source§impl Ord for Entry
impl Ord for Entry
Source§impl PartialOrd for Entry
impl PartialOrd for Entry
impl Copy for Entry
impl Eq for Entry
impl StructuralPartialEq for Entry
Auto Trait Implementations§
impl Freeze for Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnwindSafe for Entry
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