pub(crate) fn span(
		self,
		bits: usize,
	) -> Result<BitSpan<M, T, O>, BitSpanError<T>> {
		BitSpan::new(self.ptr, self.bit, bits)
	}
/// Converts a bit-pointer into a span descriptor by attaching a length
/// counter (in bits).
///
/// ## Parameters
///
/// - `self`: The base address of the produced span.
/// - `bits`: The length, in bits, of the span.
///
/// ## Returns
///
/// A span descriptor beginning at `self` and ending (exclusive) at `self +
/// bits`. This fails if it is unable to encode the requested span into a
/// descriptor.
Converts a bit-pointer into a span descriptor by attaching a length
counter (in bits).
Converts a bit - pointer into a span descriptor by attaching a length counter ( in bits ) .
pub(crate) fn span(
		self,
		bits: usize,
	) -> Result<BitSpan<M, T, O>, BitSpanError<T>> {
		BitSpan::new(self.ptr, self.bit, bits)
	}
pub ( crate ) fn span ( self , bits : usize , ) -> Result < BitSpan < M , T , O > , BitSpanError < T > > { BitSpan :: new ( self . ptr , self . bit , bits ) }
Converts a bit-pointer into a span descriptor by attaching a length
counter (in bits).
Converts a bit - pointer into a span descriptor by attaching a length counter ( in bits ) .
self
bits
usize
A span descriptor beginning at `self` and ending (exclusive) at `self +
bits`. This fails if it is unable to encode the requested span into a
descriptor.
A span descriptor beginning at ` self ` and ending ( exclusive ) at ` self + bits ` . This fails if it is unable to encode the requested span into a descriptor .
self
The base address of the produced span.
The base address of the produced span .
bits
usize
The length, in bits, of the span.
The length in bits of the span .