pub unsafe fn new_unchecked(pos: u8) -> Self {
		debug_assert!(
			pos < bits_of::<R>() as u8,
			"Bit position {} cannot exceed type width {}",
			pos,
			bits_of::<R>(),
		);
		Self {
			pos,
			_ty: PhantomData,
		}
	}
/// Wraps a counter value as an assumed-good position within an `R`
/// register.
///
/// ## Parameters
///
/// - `value`: The counter value to mark as a position. This must be in the
///   range `0 .. R::BITS`.
///
/// ## Returns
///
/// This unconditionally marks `pos` as a valid bit-position.
///
/// ## Safety
///
/// If the `pos` 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 position within an `R`
register.
Wraps a counter value as an assumed - good position within an ` R ` register .
pub unsafe fn new_unchecked(pos: u8) -> Self {
		debug_assert!(
			pos < bits_of::<R>() as u8,
			"Bit position {} cannot exceed type width {}",
			pos,
			bits_of::<R>(),
		);
		Self {
			pos,
			_ty: PhantomData,
		}
	}
pub unsafe fn new_unchecked ( pos : u8 ) -> Self { debug_assert ! ( pos bits_of R ( ) as u8 " " pos bits_of R ( ) ) ; Self { pos , _ty : PhantomData , } }
Wraps a counter value as an assumed-good position within an `R`
register.
Wraps a counter value as an assumed - good position within an ` R ` register .
pos
u8
This unconditionally marks `pos` as a valid bit-position.
This unconditionally marks ` pos ` as a valid bit - position .
pos
u8
value
The counter value to mark as a position. This must be in the
range `0 ..
The counter value to mark as a position . This must be in the range ` 0 ..
safety
If the `pos` 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 ` pos ` 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 .