pub(crate) fn cast<U>(self) -> BitSpan<M, U, O>
	where U: BitStore {
		let Self { ptr, len, .. } = self;
		BitSpan {
			ptr,
			len,
			..BitSpan::EMPTY
		}
	}
/// Casts the span to another element type.
///
/// This does not alter the encoded value of the pointer! It only
/// reinterprets the element type, and the encoded value may shift
/// significantly in the result type. Use with caution.
Casts the span to another element type.
This does not alter the encoded value of the pointer. It only
reinterprets the element type, and the encoded value may shift
significantly in the result type. Use with caution.
Casts the span to another element type . This does not alter the encoded value of the pointer . It only reinterprets the element type and the encoded value may shift significantly in the result type . Use with caution .
pub(crate) fn cast<U>(self) -> BitSpan<M, U, O>
	where U: BitStore {
		let Self { ptr, len, .. } = self;
		BitSpan {
			ptr,
			len,
			..BitSpan::EMPTY
		}
	}
pub ( crate ) fn cast < U > ( self ) -> BitSpan < M , U , O > where U : BitStore { let Self { ptr , len , .. } = self ; BitSpan { ptr , len , .. BitSpan :: EMPTY } }
Casts the span to another element type.
Casts the span to another element type .
self
self