pub struct I16(/* private fields */);Implementations§
Source§impl I16
impl I16
pub const MAX: I16
pub const MIN: I16
pub const fn result(self) -> Result<INom16, Panic>
pub const fn checked_add(self, rhs: I16) -> I16
pub const fn checked_sub(self, rhs: I16) -> I16
pub const fn checked_mul(self, rhs: I16) -> I16
pub const fn checked_div(self, rhs: I16) -> I16
pub const fn checked_rem(self, rhs: I16) -> I16
pub const fn max(self, rhs: I16) -> I16
pub const fn min(self, rhs: I16) -> I16
pub const fn abs(self) -> I16
pub const fn neg(self) -> I16
pub const fn div_euclid(self, rhs: I16) -> I16
Trait Implementations§
impl Copy for I16
Auto Trait Implementations§
impl Freeze for I16
impl RefUnwindSafe for I16
impl Send for I16
impl Sync for I16
impl Unpin for I16
impl UnwindSafe for I16
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