pub struct Value {
pub range: [usize; 2],
pub kind: ValueKind,
pub indefinite: bool,
}Expand description
One decoded value: a byte range and its kind.
Fields§
§range: [usize; 2]§kind: ValueKind§indefinite: boolTrue when this value used an indefinite-length form (CBOR).
Implementations§
Trait Implementations§
impl StructuralPartialEq for Value
Auto Trait Implementations§
impl Forget for Value
impl Freeze for Value
impl Move for Value
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnsafeUnpin for Valuewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const Node is !null: UnsafeUnpin,
PhantomData<Node>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
PhantomData<(Value, Value)>: UnsafeUnpin,
*const Value is !null: UnsafeUnpin,
impl UnwindSafe for Value
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