pub struct IntegerDerState {
pub bytes: [u8; 9],
pub len: usize,
pub pos: usize,
pub small: bool,
}Expand description
Cursor for arbitrary-size INTEGER contents. Small values cache at most nine content octets; large values retain the zero-copy representation and are traversed directly.
Fields§
§bytes: [u8; 9]§len: usize§pos: usize§small: boolTrait Implementations§
Source§impl Clone for IntegerDerState
impl Clone for IntegerDerState
Source§fn clone(&self) -> IntegerDerState
fn clone(&self) -> IntegerDerState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for IntegerDerState
Auto Trait Implementations§
impl Freeze for IntegerDerState
impl RefUnwindSafe for IntegerDerState
impl Send for IntegerDerState
impl Sync for IntegerDerState
impl Unpin for IntegerDerState
impl UnsafeUnpin for IntegerDerState
impl UnwindSafe for IntegerDerState
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