Skip to main content

OddUintRef

Type Alias OddUintRef 

Source
pub type OddUintRef = Odd<UintRef>;
Expand description

Odd unsigned integer reference.

Aliased Type§

#[repr(transparent)]
pub struct OddUintRef(pub(crate) UintRef);

Tuple Fields§

§0: UintRef

Implementations§

Source§

impl OddUintRef

Source

pub const fn to_uint_resize<const T: usize>(&self) -> Odd<Uint<T>>

Construct an Odd<Uint<T>> from the unsigned integer value, truncating the upper bits if the value is too large to be represented.