pub(crate) fn into_bitslice<'a, C>(self) -> &'a SliceBit<C, T>
	where C: Cursor {
		unsafe {
			&*(slice::from_raw_parts(
				Pointer::from(self.ptr.as_ptr()).r() as *const (),
				self.len,
			) as *const [()] as *const SliceBit<C, T>)
		}
	}
/// Converts a `BitPtr` structure into an immutable `SliceBit` handle.
///
/// # Parameters
///
/// - `self`
///
/// # Returns
///
/// A `SliceBit` handle composed of the `BitPtr` structure.
Converts a `BitPtr` structure into an immutable `SliceBit` handle.
Converts a ` BitPtr ` structure into an immutable ` SliceBit ` handle .
pub(crate) fn into_bitslice<'a, C>(self) -> &'a SliceBit<C, T>
	where C: Cursor {
		unsafe {
			&*(slice::from_raw_parts(
				Pointer::from(self.ptr.as_ptr()).r() as *const (),
				self.len,
			) as *const [()] as *const SliceBit<C, T>)
		}
	}
pub ( crate ) fn into_bitslice < ' a , C > ( self ) -> & ' a SliceBit < C , T > where C : Cursor { unsafe { & * ( slice :: from_raw_parts ( Pointer :: from ( self . ptr . as_ptr ( ) ) . r ( ) as * const ( ) , self . len , ) as * const [ ( ) ] as * const SliceBit < C , T > ) } }
Converts a `BitPtr` structure into an immutable `SliceBit` handle.
Converts a ` BitPtr ` structure into an immutable ` SliceBit ` handle .
self
A `SliceBit` handle composed of the `BitPtr` structure.
A ` SliceBit ` handle composed of the ` BitPtr ` structure .
self
None