Struct grit_bitvec::i16_as_i12
source · pub struct i16_as_i12;Implementations§
source§impl i16_as_i12
impl i16_as_i12
pub const MIN: i16 = -2_048i16
pub const MAX: i16 = 2_047i16
pub fn clamp_val( val: <i16_as_i12 as TypedBitElem>::Base ) -> <i16_as_i12 as TypedBitElem>::Base
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for i16_as_i12
impl Send for i16_as_i12
impl Sync for i16_as_i12
impl Unpin for i16_as_i12
impl UnwindSafe for i16_as_i12
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