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