pub(crate) unsafe fn new_unchecked(end: u8) -> Self {
		debug_assert!(
			end <= bits_of::<R>() as u8,
			"Bit tail {} cannot exceed type width {}",
			end,
			bits_of::<R>(),
		);
		Self {
			end,
			_ty: PhantomData,
		}
	}
/// Wraps a counter value as an assumed-good tail of an `R` register.
///
/// ## Parameters
///
/// - `end`: The counter value to mark as a tail. This must be in the range
///   `0 ..= R::BITS`.
///
/// ## Returns
///
/// This unconditionally marks `end` as a valid tail index.
///
/// ## Safety
///
/// If the `end` value is outside the valid range, then the program is
/// incorrect. Debug builds will panic; release builds do not inspect the
/// value or specify a behavior.
Wraps a counter value as an assumed-good tail of an `R` register.
Wraps a counter value as an assumed - good tail of an ` R ` register .
pub(crate) unsafe fn new_unchecked(end: u8) -> Self {
		debug_assert!(
			end <= bits_of::<R>() as u8,
			"Bit tail {} cannot exceed type width {}",
			end,
			bits_of::<R>(),
		);
		Self {
			end,
			_ty: PhantomData,
		}
	}
pub ( crate ) unsafe fn new_unchecked ( end : u8 ) -> Self { debug_assert ! ( end bits_of R ( ) as u8 " " end bits_of R ( ) ) ; Self { end , _ty : PhantomData , } }
Wraps a counter value as an assumed-good tail of an `R` register.
Wraps a counter value as an assumed - good tail of an ` R ` register .
end
u8
This unconditionally marks `end` as a valid tail index.
This unconditionally marks ` end ` as a valid tail index .
end
u8
The counter value to mark as a tail. This must be in the range
`0 ..= R::BITS`.
The counter value to mark as a tail . This must be in the range ` 0 .. = R :: BITS ` .
safety
If the `end` value is outside the valid range, then the program is
incorrect. Debug builds will panic; release builds do not inspect the
value or specify a behavior.
If the ` end ` value is outside the valid range then the program is incorrect . Debug builds will panic ; release builds do not inspect the value or specify a behavior .