pub struct u16_as_u12;
Implementations§
Source§impl u16_as_u12
impl u16_as_u12
pub const MIN: u16 = 0u16
pub const MAX: u16 = 4_095u16
pub fn clamp_val( val: <u16_as_u12 as TypedBitElem>::Base, ) -> <u16_as_u12 as TypedBitElem>::Base
Trait Implementations§
Auto Trait Implementations§
impl Freeze for u16_as_u12
impl RefUnwindSafe for u16_as_u12
impl Send for u16_as_u12
impl Sync for u16_as_u12
impl Unpin for u16_as_u12
impl UnwindSafe for u16_as_u12
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more