pub struct BitStackStruct<B, C> { /* private fields */ }Expand description
BitStack configuration for custom bit depth parsing.
Allows specifying custom types for bit storage and depth counting.
§Type Parameters
B- The bit bucket type used for storing the bit stack. Must implementBitBucket.C- The counter type used for tracking nesting depth. Must implementDepthCounter.
Example: BitStack<u64, u16> for 64-bit nesting depth with 16 counter.
Trait Implementations§
Source§impl<B, C> BitStackConfig for BitStackStruct<B, C>
impl<B, C> BitStackConfig for BitStackStruct<B, C>
Auto Trait Implementations§
impl<B, C> Freeze for BitStackStruct<B, C>
impl<B, C> RefUnwindSafe for BitStackStruct<B, C>where
B: RefUnwindSafe,
C: RefUnwindSafe,
impl<B, C> Send for BitStackStruct<B, C>
impl<B, C> Sync for BitStackStruct<B, C>
impl<B, C> Unpin for BitStackStruct<B, C>
impl<B, C> UnwindSafe for BitStackStruct<B, C>where
B: UnwindSafe,
C: UnwindSafe,
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