pub struct u16_as_u15;
Implementations§
Source§impl u16_as_u15
impl u16_as_u15
pub const MIN: u16 = 0u16
pub const MAX: u16 = 32_767u16
pub fn clamp_val( val: <u16_as_u15 as TypedBitElem>::Base, ) -> <u16_as_u15 as TypedBitElem>::Base
Trait Implementations§
Auto Trait Implementations§
impl Freeze for u16_as_u15
impl RefUnwindSafe for u16_as_u15
impl Send for u16_as_u15
impl Sync for u16_as_u15
impl Unpin for u16_as_u15
impl UnwindSafe for u16_as_u15
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